Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.299,
Internal ChangesSection of the release
What
A can_use_tool request is how Claude Code asks for permission before a tool runs, through the control protocol that SDK clients use. When such a request includes a plugin field naming a plugin, that name is now passed through to the permission handling. Requests that are forwarded on also have their contents adjusted before they are sent.
Why
A permission prompt that comes from a plugin can be traced back to that plugin, so the prompt can say where it came from.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up can_use_tool, on Agent SDK reference - Python.> Commands running with `dangerouslyDisableSandbox: True` have full system access. Ensure your `can_use_tool` handler validates these requests carefully.agent-sdk/pythonsee the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up can_use_tool, on Agent SDK reference - Python.