Write a memory
writeStore a new memory in one engine. type: note (anything worth keeping), decision (a choice; rationale required), task (work still to do), person, company, meeting (occurred_at and attendees required) or file (content_base64 and content_type); describe gives every type’s fields. Fields go in fields or at the top level. [[type::slug]] in the body links to another memory. find first: what is already stored is edited, not written again. A title already used in that engine is refused — edit it, choose another title, or pass its slug to replace it on purpose. also writes more memories in the same call.
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": {
"engine": "<engine>"
},
"name": "write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| also | No | More memories for the same engine, each shaped like this call. Required without `type` and `title`. | |
| body | No | Markdown body. | |
| idem | No | Replay guard — the same key never writes twice. | |
| slug | No | Explicit slug; derived from the title otherwise. | |
| tags | No | Tags. | |
| type | No | What kind of memory: note, decision, task, person, company, meeting, file. Required here or on each `also` record. | |
| links | No | Refs to check exist; missing ones come back. Links are made by [[type::slug]] in the body. | |
| title | No | Short title; the ref derives from it. Required unless `also` is given. | |
| engine | Yes | The engine, by slug — required; a call without it is refused with the list. | |
| fields | No | Type-specific fields, e.g. {"rationale": "…"} on a decision or {"due_at": "2026-10-02"} on a task. | |
| content_type | No | For type "file" — e.g. "text/markdown". | |
| content_base64 | No | For type "file" — the bytes. Text is extracted and indexed. |