| Example | Description |
|---|---|
| Retry Tool Call | Implement automatic retries for flaky or rate-limited tool executions. |
| Retry Tool Call From Post Hook | Intercept errors and trigger retries using post-execution hooks to maintain workflow continuity. |
| Stop Agent Exception | Gracefully terminate execution when specific error conditions are met to prevent “hallucination loops.” |