fable_prune
Free up context size by pruning session transcripts. Remove noise, images, and bloat while saving a sealed backup for full recall.
Instructions
Slim a session transcript NOW (tool noise, images, bloat) with a vault backup sealed first — nothing is lost, everything stays recallable. Use when the user asks to prune/slim a session or complains about context size. After pruning the CURRENT session, tell the user to /exit and run the returned resume command to load the slim version.
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": {
"session_id": "<session_id>"
},
"name": "fable_prune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | session to prune (the current session's id works — the rewrite is atomic and append-safe) | |
| strip_images | No |