memory_save
Record durable project decisions or gotchas when completing a task, but only if they prevent likely future mistakes or repeated work. Returns a memory path and merge guidance; does not write files.
Instructions
Consider saving non-obvious project decisions or gotchas at task completion only when they prevent a likely future mistake or substantial repeated work. Skip facts cheaply discoverable from code or docs, task summaries, temporary state, and duplicates. Batch related learnings; no update is usually needed. Returns a resolved memory path, size guidance, and instructions to assess and merge with your own editing tools; never writes files or requires saving a low-value candidate.
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": {
"learning": "<learning>"
},
"name": "memory_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute existing project directory within advertised workspace roots. Required when multiple roots are available. | |
| learning | Yes | Concise candidate fact, or a small batch of related facts, that would prevent future mistakes or substantial repeated work. |