write_memory
Create or update a memory entry, using the revision from read_memory to ensure safe updates.
Instructions
Create or update Memory. Updates require the revision returned by read_memory.
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": {
"id": "<id>",
"content": "<content>",
"actor_id": "<actor_id>",
"role": "<role>"
},
"name": "write_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| role | Yes | ||
| tags | No | ||
| content | Yes | ||
| actor_id | Yes | ||
| importance | No | normal | |
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||