memory
Long-term memory behind your key: add facts (deduplicated by meaning), recall by meaning with an optional recency boost, list, forget. Spaces per user or agent, 20 000 items. Add billed per item. Cost €0.001 per operation, charged to the API key in Authorization: Bearer. Parameters — op: search (default) | add | list | spaces | delete; space: namespace, e.g. user:42 (default 'default'); text: memory text for add; items: JSON array [{text, meta}] for batch add; meta: JSON object; query: what to recall; top_k: 1–50 (default 5); recency: 0–1, weight of freshness (default 0); ids: ids to delete, comma-separated; all: bool, delete the whole space.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| all | No | ||
| ids | No | ||
| meta | No | ||
| text | No | ||
| items | No | ||
| query | No | ||
| space | No | ||
| top_k | No | ||
| recency | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |