{"name":"tool.run","slug":"tool-run","family":"setting","title":"Settings keys","noun":"settings key","description":"A plugin hooks module that registers `tool.run` now receives tool calls, and forwarded teammate permission requests are marked","description_source":"entry","described_by":{"version":"2.1.326","anchor":"teammate-permission-and-toolrun-hook-changes"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.330","builds":0,"mined_builds":169,"first_cited":{"version":"2.1.326","released_at":"2026-11-16 18:43:39","spans":3}},"aliases":[],"entries":[{"version":"2.1.326","anchor":"teammate-permission-and-toolrun-hook-changes","heading":"Plugin hooks that register tool.run now see tool calls","line":"A plugin hooks module that registers `tool.run` now receives tool calls, and forwarded teammate permission requests are marked","released_at":"2026-11-16 18:43:39","reason":"named in this entry, found in this entry's text"},{"version":"2.1.326","anchor":"plugin-hooks-runtime-webassembly-shaderbackdrop-agentca","heading":"Plugin hooks can now use WebAssembly, call agents and judge tool calls","line":"Hooks modules in plugins can now run WebAssembly, call an agent, judge tool calls and draw shader and backdrop elements","released_at":"2026-11-16 18:43:39","reason":"found in this entry's text"},{"version":"2.1.326","anchor":"new-tooljudge-and-toolrun-surfaces-and-manageddenial-state","heading":"Plugin hooks gain two new tool points, tool.judge and tool.run","line":"Plugin hooks for tools gain two new points, tool.judge and tool.run, and tools can now carry a record of being denied by managed settings","released_at":"2026-11-16 18:43:39","reason":"named in this entry, found in this entry's text"},{"version":"2.1.326","anchor":"toolrun-joins-toolcall-for-ref-handling-sandbox-dirs-trac","heading":"tool.run handled like tool.call , and sandbox tracks directories to create","line":"A reference result once returned only for `tool.call` now also comes back for `tool.run`, and the sandbox records which extra directories it created","released_at":"2026-11-16 18:43:39","reason":"named in this entry, found in this entry's text"},{"version":"2.1.326","anchor":"remote-protocol-gains-retire-if-empty-op-plugin-api-gains-u","heading":"Session protocol and plugin calls gain new operations","line":"The session protocol accepts a retire-if-empty operation, plugins may call `ui.log`, and tool events gain judge and run","released_at":"2026-11-16 18:43:39","reason":"found in this entry's text"},{"version":"2.1.326","anchor":"memory-ask-hook-and-tooljudgetoolrunagentcall-hook-poin","heading":"Groundwork for new hook points and a memory question callback","line":"Claude Code gains the hook points `tool.judge`, `tool.run` and `agent.call` and a memory question callback, apparently not yet wired up","released_at":"2026-11-16 18:43:39","reason":"named in this entry, found in this entry's text"},{"version":"2.1.326","anchor":"mod-host-capability-manifest-expanded","heading":"Built-in mod manifest lists more host capabilities, and a mod's own tool calls check deny rules","line":"The built-in mod manifest now declares many more host capabilities, and tool calls made by a mod are now checked against deny rules","released_at":"2026-11-16 18:43:39","reason":"found in this entry's text"},{"version":"2.1.326","anchor":"plugin-hook-mods-wider-capability-list-and-toolcall-routin","heading":"Plugin hooks modules list more calls, and tool calls go through permission checks","line":"A plugin manifest now lists more calls, and a hooks module's tool.call now applies permission and deny rules","released_at":"2026-11-16 18:43:39","reason":"named in this entry, found in this entry's text"},{"version":"2.1.326","anchor":"tool-run-modules-can-hold-or-gate-tool-calls","heading":"Tool calls can be held and re-checked before they run","line":"Claude Code can now pass tool calls through run modules that hold them and re-check stop, permission and cancel state when they are released","released_at":"2026-11-16 18:43:39","reason":"found in this entry's text"},{"version":"2.1.326","anchor":"new-tengu-glowing-goose-gate-and-toolrun-sessioninfo-mod","heading":"Plugins get two new methods, and a new remote switch is added","line":"Plugins gain tool.run and session.info methods, and a new remote switch is added that is off by default","released_at":"2026-11-16 18:43:39","reason":"found in this entry's text"}],"entries_total":14,"docs":[{"source":"claude-code","path":"plugins\/mods\/reference","title":"Mods reference","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"tool.call","slug":"tool-call","description":"Tools a plugin registers reach the model through a local loopback MCP server."},{"name":"tool.check","slug":"tool-check","description":"Plugin hooks can now react to tool-call dry-runs, config changes, and session attach\/detach events."},{"name":"tool.describe","slug":"tool-describe","description":"Plugin hooks are limited in what they may rewrite, and cannot take over question prompts."},{"name":"tool.judge","slug":"tool-judge","description":"Hooks modules in plugins can now run WebAssembly, call an agent, judge tool calls and draw shader and backdrop elements"},{"name":"tool.list","slug":"tool-list","description":"Plugins can install code that intercepts tool calls and repaints parts of the terminal interface."},{"name":"tool.offer","slug":"tool-offer","description":"Plugins can be asked through `tool.offer` whether a tool is offered to Claude, and the default answer is that it is not"},{"name":"tool.output","slug":"tool-output","description":"A tool.output telemetry event can carry file contents, diffs and bash commands after a successful tool call, behind a gate."},{"name":"toolAliases","slug":"toolaliases","description":"The internal per-session context object gained many new fields covering effort, hooks, tools, and skills"},{"name":"toolCalls","slug":"toolcalls","description":null},{"name":"toolCount","slug":"toolcount","description":"When an `mcp_status` live reply would be too large, it now sends a count of each server's tools instead of the full list"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/tool-run","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}