record_gotcha
Record a newly discovered pitfall into the project's memory so later agent sessions recall it. Optionally replace an outdated gotcha by its recalled id, and omit project to target the current repo.
Instructions
Record a pitfall just discovered into the project's memory so later sessions see it; replaces takes the id of a recalled gotcha it corrects. Omit project for the current repo.
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": {
"text": "<text>"
},
"name": "record_gotcha"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | What to remember, as one concrete sentence. | |
| project | No | Project path; omit for the current repo. | |
| replaces | No | Id of a recalled fact this one reverses or replaces; that one becomes history. | |
| rationale | No | For a decision: why it was made. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||