Diagnose a failure
diagnoseAnalyze an error or failed operation, record it in bounded session state, and recommend safe next actions to recover from failures.
Instructions
Analyze an error or failed operation, record it in bounded session state, and recommend safe next actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | No | Relevant log excerpt. Credentials are redacted. | |
| sessionId | No | A stable identifier for this agent recovery session. | default |
| actualResult | No | What happened instead. | |
| errorMessage | No | The exact error message, if available. | |
| expectedResult | No | What should have happened. | |
| recentOperation | No | The operation that most recently failed. | |
| attemptedSolution | No | A solution already attempted. |