{"version":"2.1.326","anchor":"plugin-removed-tool-denial-now-labelled","canonical_anchor":"plugin-removed-tool-denial-now-labelled","heading":"Tools removed by a plugin are now labelled when refused","tier":"internal","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/plugin-removed-tool-denial-now-labelled","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Tools removed by a plugin are now labelled when refused\n\nWhen Claude Code refuses a tool because a plugin removed it, the refusal now carries the label `toolRemovedByPlugin`\n\n**What**\n\nPlugins are add-ons that extend Claude Code, and one can remove a tool from the session. When Claude tries to use a tool that was removed this way, Claude Code refuses. That refusal now carries the label `toolRemovedByPlugin`. Before, it had only a type and a reason.\n\n**Why**\n\nThese refusals can now be told apart from other refusals, for example by hooks, which are scripts you set up to react to Claude Code events.\n\n- Area: Plugins\n- Names: `toolRemovedByPlugin`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}