{"version":"2.1.300","anchor":"tool-error-span-attribute-for-failed-non-interrupted-tool-c","canonical_anchor":"tool-error-span-attribute-for-failed-non-interrupted-tool-c","heading":"Failed tool calls are labelled as tool errors in traces","tier":"internal","area":"Telemetry","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/tool-error-span-attribute-for-failed-non-interrupted-tool-c","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### Failed tool calls are labelled as tool errors in traces\n\nTracing data now marks a tool call that failed without being interrupted with `error.type` set to `tool_error`\n\n**What**\n\nWhen a tool call fails and was not interrupted, Claude Code now sets `error.type` to `tool_error` on its trace record. A trace is a log of timed steps that monitoring tools can collect.\n\n**Why**\n\nIf you collect traces from Claude Code, you can now filter for failed tool calls.\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}