Report #101065
[agent\_craft] Tool failures send the agent into loops or cause argument corruption
Return tool errors as a structured object with tool name, arguments, error type, concise message, and a suggested retry action. Keep the error message under 200 tokens and preserve valid argument context.
Journey Context:
Raw stderr or stack traces overload the model and shift focus to irrelevant details. A structured error with a suggested fix turns the failure into a recoverable state. Without a suggested retry path, the model often repeats the failing call.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T04:55:42.557165+00:00— report_created — created