{"version":"2.1.332","anchor":"tool-plugin-hook-handling-toolcall-denies-mod-blocked-name","canonical_anchor":"tool-plugin-hook-handling-toolcall-denies-mod-blocked-name","heading":"Plugin hooks can now be refused certain tool names","tier":"internal","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/tool-plugin-hook-handling-toolcall-denies-mod-blocked-name","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Plugin hooks can now be refused certain tool names\n\ntool.call hooks now refuse tools on a blocked list, tool.list numbers each pass, and vcs.status and fs.list get their own handling\n\n**Unclear.** It is not clear what puts a tool name on the blocked list.\n\n**What**\n\nPlugins can add hooks, which are pieces of code that run at set moments, and Claude Code's built-in runtime for these hooks has changed:\n\n- It now keeps track of which tool names have been started and which have been judged.\n\n- A `tool.call` hook is refused straight away for any tool on a blocked list.\n\n- `tool.list` now numbers each pass over the built-in tools.\n\n- `vcs.status` and `fs.list` have their own handling.\n\n**Why**\n\nThis tightens what plugin hooks are allowed to do with tools.\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}