record_failure
Records failed attempts separately from verified conclusions and evidence so agents can stop repeating an approach after two failures and switch to root-cause analysis.
Instructions
Record what was tried and failed. Keep the guess (why_failed_hypothesis) apart from what was proven (verified_conclusion + evidence). Call when: the same approach failed twice - then switch to the root-cause playbook.
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": {
"attempted": "<attempted>",
"failed": "<failed>"
},
"name": "record_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | Yes | ||
| evidence | No | ||
| language | No | ||
| attempted | Yes | ||
| bugfix_id | No | ||
| correction | No | ||
| prevention | No | ||
| project_dir | No | ||
| detect_earlier | No | ||
| verified_conclusion | No | ||
| why_failed_hypothesis | No |