You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PluginsArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
Unclear It is not clear whether hooks registered under tool.call still answer added tools.
What
A plugin can add its own tools to a session through its hooks module, a code file that runs at set moments. When Claude uses one of those tools and no hook answers the call, the call fails with an error that says how to fix it. That error now tells the plugin author to add on("tool.run", { tool: ... }). Before, it said to add on("tool.call", { tool: ... }).
Why
Plugin authors who follow the old wording may register a hook name that no longer answers their tool. If an added tool keeps failing with this error, register the hook under tool.run as the message now says.
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 doubtIt is not clear whether hooks registered under `tool.call` still answer added tools.
Anthropic's documentation agreesAnthropic's documentation has since written up tool.call, on Manage mods for your organization.