Pin or unpin a memory
memory_pinToggle the pinned status of a memory to protect it from pruning and boost its search ranking. Pin only high-leverage facts and decisions; overuse diminishes effectiveness.
Instructions
Toggle the pinned flag — pinned memories survive pruning and rank higher in search. Idempotent. Use sparingly: reserve pins for canonical decisions, user preferences, and high-leverage facts. Pinning everything defeats the purpose.
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": {
"memory_id": "<memory_id>"
},
"name": "memory_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | Yes | Id of the memory to pin or unpin. | |
| pinned | No | `true` (default) to pin, `false` to unpin. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | `Memory <id> pinned.` / `Memory <id> unpinned.` on success, `Memory <id> not found.` when missing. |