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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Slot label | |
| content | Yes | New full content |