memory_slot_replace
Overwrite an existing memory slot's full content while keeping its metadata and size limit intact. Fails on missing or read-only slots and oversized content.
Instructions
Replace the complete content of an existing effective slot, preserving its metadata and size limit. Empty content clears the slot. Returns {success,slot,size}; missing/read-only slots or oversized content fail without replacement. Project slots take precedence over global slots with the same label. Records an audit entry. Use memory_slot_append to add text or memory_slot_create for a new label.
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": {
"label": "<label>",
"content": "<content>"
},
"name": "memory_slot_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Slot label | |
| content | Yes | New full content |