Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.269 ·

New plugin hook op: $.tool.check lets a plugin test a tool call without running it

New plugin hook lets a plugin check whether a tool call would be allowed without actually running it

TierUse it nowhow much it should matter to you
Useful5my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaPlugin Hookswhat it touches
KindNew Featuresin v2.1.269,
Use it now Notable

New plugin hook lets a plugin check whether a tool call would be allowed without actually running it

What

Plugins (add-on scripts that can hook into Claude Code's behavior) can now call a new $.tool.check operation. Given a tool name and its input, this runs the same permission and argument checks Claude Code would normally run before executing that tool, and returns the verdict (allowed, denied, etc.) without actually running the tool. It's also wired into the tool-call hook used by the Claude Code SDK, which now validates the tool name and input before dispatching to this new check.

Why

This lets a plugin or SDK integration preview whether a tool call would be permitted, useful for building custom approval flows or diagnostics without side effects from actually running the tool.

See this entry in the whole of v2.1.269 →