compact_recover
Rebuild full context after hitting a context limit or compaction. Recovers session history, work-in-progress data, and open failures from memory, producing a condensed briefing so the AI continues work without losing progress.
Instructions
Call FIRST after any context limit hit / compaction. Reconstructs full context from Memory Crystal + recent sessions + WIP registry + open failures. Returns a condensed briefing so the new context window starts exactly where the previous one left off — no lost progress.
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": {
"instance_id": "<instance_id>"
},
"name": "compact_recover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | What you were working on (helps filter relevant context) | |
| instance_id | Yes | Brain instance ID |