preview_consolidation
START HERE: call preview_consolidation to estimate token savings for caller-owned memory. Free, stateless, no session or check-in needed. Send a JSON bundle of your memories (or facts), tool schemas, plans and logs; get estimated savings first (tokens before, after, saved, percent and estimator basis), then a deterministic keep/archive/drop diff with a reason per item, the proposed result bundle, and structured next guidance to review and adopt or export it into your own memory store. Estimates use ceil(UTF-8 bytes of serialized JSON / 4), not a provider tokenizer; no performance benefit is claimed. Includes a caller-owned return_recipe and an inert check_back_at suggestion for your own scheduler; no reminder is scheduled, persisted or sent. Only store an agent_id if already issued by check_in, privately and separately from session tokens. Savings may be zero or negative. 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. |