protect
Pin a memory to prevent automatic merging, superseding, or garbage collection. Set protected=false to unpin and allow normal memory lifecycle.
Instructions
Pin a memory so it can never be auto-merged, superseded, or garbage-collected. Pass protected=false to unpin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Memory id to protect/unprotect. | |
| protected | No | true to pin (block auto-merge/supersede/forget), false to unpin. Default true. |