diagnose_task_failure
Identifies why a task failed or got stuck by analyzing its execution trace and comparing similar successful tasks. Returns actionable fix suggestions to resolve the root cause.
Instructions
Auto-diagnose why a task failed and suggest fixes.
Reads the task's execution trace (memos) to identify the failure point, compares with similar successful tasks in the same team, and returns actionable fix suggestions.
Use this when a task fails or gets stuck to quickly understand root cause without manually reading through all memo records.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>"
},
"name": "diagnose_task_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ID of the failed or stuck task |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||