{"version":"2.1.326","anchor":"mod-host-capability-manifest-expanded","canonical_anchor":"mod-host-capability-manifest-expanded","heading":"Plugin mods can make more kinds of calls, and their tool calls now go through permission checks","tier":"internal","area":"Mods","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/mod-host-capability-manifest-expanded","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Plugin mods can make more kinds of calls, and their tool calls now go through permission checks\n\nThe plugin mod manifest allows many more host calls, and $.tool.call now checks deny rules and permission layers\n\n**Unclear.** It is not clear which mod this manifest belongs to or whether anything uses the new capabilities yet.\n\n**What**\n\nA mod is a code module a plugin adds to Claude Code. Its manifest, the file listing what the mod is allowed to do, now allows many more calls. Before, the only allowed `calls` were `settings.read` and `ui.log`. The list grew from 2 to 8 calls. The capabilities now include:\n\n- `tool.call`, `agent.call`, `tool.run` and `tool.judge`\n\n- `prompt.submit`\n\n- `fs.write` and `fs.stat`, for working with files\n\n- `process.run` and `process.spawn`, for starting programs\n\n- `wasm.compile`\n\nThe manifest also declares that a mod may read the environment variables `CLAUDE_CONFIG_DIR`, `HOME` and `USERPROFILE`. An environment variable is a named setting passed to a program when it starts.\n\n`$.tool.call`, which a mod uses to run a tool itself, was reworked. It no longer drives its own loop. It now applies permission layers, including a new `mod_own_call` layer, and consults deny rules, the settings that forbid specific actions. It also refuses to start a run when the parent agent has already stopped.\n\n**Why**\n\nMods can now do much more inside Claude Code, but a tool call a mod makes for itself is held to the same deny rules as other calls. If you have deny rules set, they also block a mod that tries to use a forbidden tool.\n\n- Area: Mods\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}