Unclear It is not established whether Claude Code always sends these fields when they apply.
What
When Claude uses a tool, the result comes back with extra details that programs built on Claude Code through its SDK (software development kit) can read. Two new fields are now described for those details:
call_ended, with the single valuenot_started: the tool call never began because the Claude Code process running the session was replaced.rewritten_by_plugin: a plugin'ssession.appendhook changed this tool result after the tool produced it. A hook is a script that runs at a set moment.
Why
A program built on Claude Code can tell a call that never ran from one that ran, and can tell when a plugin changed a result.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not established whether Claude Code always sends these fields when they apply.