{"version":"2.1.332","anchor":"tool-result-metadata-gains-call-ended-and-rewritten-by-plugi","canonical_anchor":"tool-result-metadata-gains-call-ended-and-rewritten-by-plugi","heading":"Tool results can say a call never started or was changed by a plugin","tier":"internal","area":"Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/tool-result-metadata-gains-call-ended-and-rewritten-by-plugi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Tool results can say a call never started or was changed by a plugin\n\nTool result details for programs embedding Claude Code now describe calls that never started and results rewritten by a plugin\n\n**Unclear.** It is not established whether Claude Code always sends these fields when they apply.\n\n**What**\n\nWhen 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:\n\n- `call_ended`, with the single value `not_started`: the tool call never began because the Claude Code process running the session was replaced.\n\n- `rewritten_by_plugin`: a plugin's `session.append` hook changed this tool result after the tool produced it. A hook is a script that runs at a set moment.\n\n**Why**\n\nA 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.\n\n- Area: Agents\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}