store_memory
Persist one explicitly approved fact, preference, project detail, decision, environment note, or pitfall with scope, tags, and source references so durable context survives sessions.
Instructions
WRITE. Store one memory. Precondition: the user explicitly asked to remember it or confirmed a fact you proposed; never store silently. kind: fact, preference, project, decision, environment, pitfall. scope: project (default), branch (true only on this branch) or checkout (true only for this clone). global_memory=true for facts that hold everywhere. refs: pointers (§15) to the source; store the conclusion, not raw output.
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": {
"content": "<content>",
"kind": "<kind>"
},
"name": "store_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| refs | No | ||
| tags | No | ||
| scope | No | ||
| anchor | No | ||
| content | Yes | ||
| project | No | ||
| global_memory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||