agentbay_record_failure
Record failed approaches and lessons learned with cause, severity, and corrective actions to prevent AI agents from repeating errors.
Instructions
Record a failed approach or lesson learned so future agents avoid repeating it
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": {
"projectId": "<projectId>",
"title": "<title>",
"content": "<content>"
},
"name": "agentbay_record_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Short description of what failed | |
| taskId | No | Related task ID | |
| content | Yes | What was tried, why it failed, and what to do instead | |
| severity | No | How costly this failure was | |
| filePaths | No | Files involved in the failure | |
| projectId | Yes | Project ID |