write_memory
Overwrite a project memory section with new Markdown content. Use this to restructure or rewrite a full section, replacing all existing content.
Instructions
Overwrite a memory section with new content. WARNING: This replaces the entire section. Use with care. Prefer append_decision or append_api_contract for adding entries. Only use write_memory when you need to restructure or rewrite a full section.
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": {
"section": "<section>",
"content": "<content>"
},
"name": "write_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The new Markdown content for the section. This will replace all existing content. | |
| section | Yes | The memory section to overwrite. One of: overview, architecture, api-contracts, decisions, bugs, todos, conventions, glossary. |