memory_add
Add a memory entry with content, category, and source to the shared vector store, embedding it for later semantic recall across agents.
Instructions
Add a memory to the shared vector store with an embedding (paraphrase-multilingual-MiniLM-L12-v2, 384-dim). Stores content + category + source for later semantic recall via memory_search. Category is auto-constructed as layered '::general' from scope/cwd + content platform hints, unless an explicit category is given. Use to sediment cross-agent knowledge (learnings, gotchas, decisions) that should be findable by meaning, not just keywords.
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>"
},
"name": "memory_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Caller working directory, used to infer current project name when scope is omitted. | |
| scope | No | Write scope: 'global' or 'project:<name>'. Omit and pass cwd to auto-infer project from working directory; omit both to default to global. | |
| source | No | ||
| content | Yes | ||
| category | No |