memory_add
Persist durable facts in local MemoryForge storage with optional scope and source, enabling coding agents to retain and retrieve context across sessions.
Instructions
Store a durable fact. Raw session text is distilled only if an LLM is enabled.
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": {
"text": "<text>"
},
"name": "memory_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| scope | No | ||
| source | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |