What
A tool call is one action Claude takes, such as running a command. Claude Code now keeps more detail about how each one ended:
- When a call is denied, the denial passes a reason:
local_check, the tool host's own refusal reason, ortool_host_other. The crashed-check path now applies only when no such reason is present. - The record of a tool call gains
toolCallEndedandtoolResultRewritten, and tool results gaincall_endedandrewritten_by_plugin. These say how the call ended and whether a plugin rewrote the result. - The messages Claude Code writes itself to ask again after a refusal, along with the results of unfinished calls, are now marked with a new field (
refusal_retry). - A tool result counts as "skipped" when
toolCallEndedisnot_startedor the call was denied before running. Before, a denial was recognised only from how the result text began.
Why
Remote clients can now tell retries after a refusal apart from ordinary messages. Reports on tool outcomes no longer depend on guessing from the result text.