core_memory_replace
Replace the first occurrence of old_text with new_text in the pinned core-memory block to update or compact it.
Instructions
Replace the first occurrence of old_text with new_text in the pinned core-memory block. Returns error: not_found if old_text is absent, or core_memory_full if the result would exceed char_limit. Use this to update or compact the block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Memory scope for isolation | global |
| namespace | No | Namespace within scope (e.g., project name, team name) | |
| old_text | Yes | Substring to find (first occurrence) in the core-memory block | |
| new_text | Yes | Replacement text for the first occurrence of old_text |