Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PluginsArea: what it touches
Internal ChangesKind: in v2.1.326,
Internal ChangesSection of the release
Unclear How tool.run behaves differently from tool.call is not stated.
What
A tool that a plugin adds through a tool.list hook can now be answered by a tool.run hook, not only by a tool.call hook. If neither answers, the error now reads "was added by a tool.list hook, and no tool.run or tool.call hook answered this call".
The check that decides whether hooks get a say in tool permissions now counts tool.run along with tool.call and the classic PreToolUse hook.
Why
Plugin authors have a second event to choose from for handling the tools they add.
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 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 doubtHow `tool.run` behaves differently from `tool.call` is not stated.
Anthropic's documentation agreesAnthropic's documentation has since written up tool.call, on Manage mods for your organization.