memory_add
Store a project memory for coding agents, merging, superseding, or inserting it based on similarity to existing entries in cc-memory.
Instructions
Add a memory via the anti-patch upsert path (merge / supersede / insert depending on similarity to existing).
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": {
"category": "<category>",
"content": "<content>",
"importance": "<importance>"
},
"name": "memory_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | ||
| content | Yes | Memory text, at least 10 characters after trimming (shorter content is dropped by the writer, not stored) | |
| project | No | ||
| category | Yes | ||
| importance | Yes |