collapse_context
Prunes _session retention and wraps oversized ## Archived blocks to compact session logs without treating ordinary Markdown as a session log.
Instructions
Prune _session retention and wrap fat ## Archived blocks. Ordinary markdown is not treated as a session log.
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": "collapse_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | _session | |
| session_id | No | session_id returned by start_session. If missing/expired, call start_session and follow next_action before retrying. |