Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
PluginsArea: what it touches
Internal ChangesKind: in v2.1.326,
What probably matters to youSection of the release
Unclear It is not clear whether plugin authors can use the wider list of calls or whether it only describes a module built into Claude Code.
What
A 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:
The 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.
$.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.
Why
Mods 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.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up fs.write, on Mods reference.| `$.fs.read` and `$.fs.write` | 4 MiB for one file. On v2.1.326 or later, read a larger file in parts with `$.fs.read(path, { offset, length })`, both in bytes. |plugins/mods/referencesee the edit
Confirmed sinceAnthropic's documentation has since written up tool.run, on Mods reference.| `tool.run` | An allowed call is about to run. Requires Claude Code v2.1.326 or later. | `next(e)`, `{ deny: reason }`, or `{ result }` |plugins/mods/referencesee the edit
Added sinceA small documentation edit on Use the mods API touched a line naming tool.call after this was published.When one of these `$.session.send` or `$.tool.call` calls is refused after an interruption in an interactive session, the user can see the [`type a message to continue` toast](https://code.claude.com/docs/en/plugins/mods/troubleshoot#stopp…plugins/mods/apisee the edit
Confirmed sinceAnthropic's documentation has since written up tool.call, on Manage mods for your organization.* **Tools**: calls such as [`$.tool.call` and `$.mcp.call`](https://code.claude.com/docs/en/plugins/mods/reference#mods-api-methods) can skip permission rules, permission prompts, a hook's `ask`, and the [auto mode](https://code.claude.com…plugins/mods/adminsee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether plugin authors can use the wider list of calls or whether it only describes a module built into Claude Code.
Anthropic's documentation agreesAnthropic's documentation has since written up tool.call, on Manage mods for your organization.