preview_consolidation
START HERE for agent memory cleanup. Stateless, free, no session or check-in needed. Send a JSON bundle of your memories (or facts), tool schemas, plans and logs; get back a deterministic keep/archive/drop diff with a reason per item, the slimmer result bundle, and before/after token estimates. Use when your context, memory store or tool list has grown long, before starting a new task, or to find duplicate, superseded, expired or cold memories and unused tools. Nothing is stored, rewritten or deleted; no model is called. Free limit 32 KiB. Exclude secrets and personal data.
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": {
"bundle": "<bundle>"
},
"name": "preview_consolidation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | Yes | Private JSON state. Free: 32 KiB, 100 memories, 30 tools, 30 plans, 200 logs. Luxury: 512 KiB, 1000 memories, 200 tools, 200 plans, 2000 logs. No model calls. Use memories or its facts alias, never both. |