{"version":"2.1.269","anchor":"plugins-can-now-pre-check-a-tool-call-via-toolcheck","canonical_anchor":"plugins-can-now-pre-check-a-tool-call-via-toolcheck","heading":"Plugins can now pre-check a tool call via $.tool.check","tier":"use","area":"Plugin Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269\/e\/plugins-can-now-pre-check-a-tool-call-via-toolcheck","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269","markdown":"### Plugins can now pre-check a tool call via $.tool.check\n\nPlugins can now check if a tool call would be allowed without actually running it, via `$.tool.check`.\n\n**What**\n\nA new function, `$.tool.check`, is available to plugin scripts (hooks that extend Claude Code's behavior). It takes the same input as an actual tool call, an object of the tool's arguments, and runs it through the same permission pipeline used for real tool calls, but only to ask whether the call would be allowed, without executing it.\n\n**Why**\n\nPlugins can now confirm a tool call is permitted before triggering it for real, letting them make decisions or ask the user ahead of time instead of finding out only after running the tool.\n\n- Area: Plugin Hooks\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5"}