{"version":"2.1.326","anchor":"plugin-hook-name-in-mcp-tool-error-changed-from-toolcall-to","canonical_anchor":"plugin-hook-name-in-mcp-tool-error-changed-from-toolcall-to","heading":"Plugin tool error now tells authors to answer calls with a tool.run hook","tier":"notice","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/plugin-hook-name-in-mcp-tool-error-changed-from-toolcall-to","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Plugin tool error now tells authors to answer calls with a tool.run hook\n\nWhen a plugin's added tool gets no answer, the error now says to register on(\"tool.run\", ...) instead of on(\"tool.call\", ...)\n\n**Unclear.** It is not clear whether hooks registered under `tool.call` still answer added tools.\n\n**What**\n\nA 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: ... })`.\n\n**Why**\n\nPlugin 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.\n\n- Area: Plugins\n- Names: `tool.run`, `tool.call`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}