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.
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 |