mistake_note_add
Record a mistake pattern with its context, incorrect action, and correct action to enable error replay and track repeated failures.
Instructions
Record a mistake pattern for error replay. Tracks what went wrong and the correct action. Auto-increments failure_count for repeated patterns.
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": {
"error_pattern": "<error_pattern>",
"context_signature": "<context_signature>",
"incorrect_action": "<incorrect_action>",
"correct_action": "<correct_action>"
},
"name": "mistake_note_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_pattern | Yes | The error pattern or message | |
| correct_action | Yes | What should have been done instead | |
| incorrect_action | Yes | What was done incorrectly | |
| context_signature | Yes | Context where the error occurred (file, function, task type) |