memory_prune
Remove expired memories based on TTL to free storage. Use dry_run to preview deletions without affecting data.
Instructions
Remove expired memories (TTL elapsed). Use dry_run to preview without deleting.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "memory_prune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only — show what would be pruned without deleting (default: false) | |
| stale_days | No | Days since last access to consider a memory stale (default: 30) |