memory_save
Save or update long-term memory for AI coding tools. Reuse a stable key or id to replace old values, skip duplicates, or batch short facts, environment details, and decisions.
Instructions
Save or update a memory. Same key or id updates; duplicates are skipped.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "memory_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Update this memory; with no content, re-confirms it against current code | |
| key | No | Stable subject (os, db, test-cmd): same key replaces the old value | |
| type | No | ||
| files | No | Project files this depends on; flagged ?stale when they change | |
| items | No | Batch of memories instead of content | |
| scope | No | global=about the user, project=this codebase; inferred if omitted | |
| content | No | One short fact, max 500 chars (omit when using items) | |
| replace | No | Update a similar memory instead of adding |