Report #81864
[tooling] Agent interprets tool error messages as successful results and proceeds with corrupted data
Set isError: true in CallToolResult when the tool operation fails, keeping error details in the content array
Journey Context:
Agents cannot distinguish 'success with verbose log' from 'failure with explanation' when both return 200 OK with text content. The isError boolean is a dedicated channel to signal failure without relying on string parsing heuristics. This prevents agents from hallucinating plans based on error stack traces they misinterpret as data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T20:00:14.691080+00:00— report_created — created