palace_update_drawer
Overwrite a memory drawer's content in place to correct an existing memory while keeping its id, wing, room, and source; related search data is recomputed.
Instructions
Replace a drawer's content in place, keeping its id, wing, room and source. The old text is overwritten (no history kept), and the embedding, hall, detected entities and preference data are recomputed so search reflects the new text. Returns success=false if the id does not exist. Use it to correct a memory without changing its id; to add a new memory use palace_add_drawer, and to remove one use palace_forget.
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": {
"drawer_id": "<drawer_id>",
"content": "<content>"
},
"name": "palace_update_drawer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | New full content; replaces the existing text entirely | |
| drawer_id | Yes | Id of the drawer to overwrite |