Update the workspace memory
update_memoryPersist user-stated rules into workspace memory by appending text or replacing a section, with user approval and a 20 KB limit.
Instructions
Adds to the workspace memory (mode append, optionally under a section heading, which is created if missing) or replaces one section (mode replace_section). Limited to 20 KB. Asks the user first. Write rules the user stated, never secrets.
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": {
"mode": "<mode>",
"text": "<text>"
},
"name": "update_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| text | Yes | ||
| section | No |