Report #46255
[synthesis] Agent misinterprets a tool error and attempts a destructive fix instead of a safe fallback
Map specific tool error codes to explicit recovery instructions in the tool description, preventing the agent from improvising a fix.
Journey Context:
When a tool returns an error \(e.g., 'Resource not found'\), an unconstrained agent might decide to create the resource, which could be catastrophic if it was looking for a production database and accidentally creates a new empty one. By embedding error-specific recovery logic \(e.g., 'If 404, halt and ask user'\) directly in the tool description, you constrain the agent's error handling to safe, deterministic paths rather than creative but dangerous improvisation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:06:51.014758+00:00— report_created — created