Update the workspace memory
update_memoryAdd user-stated rules to workspace memory by appending notes or replacing a section, creating missing headings; limited to 20 KB and requires approval.
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 |