gc
Remove stale memories that fall below retention thresholds, with a safe dry-run mode by default to preview deletions before applying them.
Instructions
Garbage collect stale memories below retention threshold. Defaults to dry_run=true for safety.
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": "gc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true (default), only report what would be deleted without actually deleting | |
| max_age_days | No | Only delete memories older than this many days (optional additional filter) | |
| min_retention | No | Delete memories with retention below this threshold (default: 0.1) |