learned
Record a problem and its solution to retain successful strategies and avoid repeating past mistakes in future sessions.
Instructions
Cache a problem/solution pair for future reference
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": {
"problem": "<problem>",
"solution": "<solution>",
"tags": "<tags>"
},
"name": "learned"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | Tags for categorization | |
| files | No | Related file paths (optional) | |
| problem | Yes | The problem that was solved | |
| solution | Yes | How it was solved |