unstick_session
Unstick Claude Code sessions blocked by 'too large' errors by removing oversized base64 content from JSONL files.
Instructions
Unstick a Claude Code session that's wedged on 'PDF too large' / 'Image too large' style errors. Scrubs oversized base64 content from the JSONL, drops per-session warning state files, and reports what was changed. After running this, the user must start a new conversation in Claude Code so it reloads the cleaned JSONL.
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": "unstick_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID (or prefix) to unstick. If omitted, the most recently modified session is used. | |
| no_backup | No | Skip creating backup. Default: false |