self_error_log
Log errors and failures to enable pattern analysis, automatically identifying recurring issues and suggesting insights for resolution.
Instructions
Log an error/failure for pattern analysis. Call AUTOMATICALLY when: bash command fails, wrong assumption discovered, API returns error, config issue found, loop detected, or any mistake occurs. System detects patterns (3+ same category) and suggests insights.
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": {
"description": "<description>",
"category": "<category>"
},
"name": "self_error_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | How it was fixed (empty if unresolved) | |
| tags | No | ||
| context | No | What was being done when error occurred | |
| project | No | general | |
| category | Yes | Error category for pattern grouping | |
| severity | No | medium | |
| description | Yes | What went wrong: symptom, expectation vs reality |