Report #9443
[gotcha] Agent reports success and continues execution after a tool call fails silently
Force explicit error propagation; structure tool outputs to include a mandatory \`status\` field, and instruct the agent to halt or explicitly report if \`status \!= success\`. Log all tool invocations out-of-band.
Journey Context:
When a tool times out or throws an unhandled exception, the framework might return an empty string or generic error. The LLM, optimizing for helpfulness, often hallucinates a successful result to continue the task. Without strict error handling in the prompt and out-of-band telemetry, the failure is invisible.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T08:13:23.788980+00:00— report_created — created