mcpretentious-screenshot
Captures token-optimized screenshots of terminal screens by returning only selected data layers, reducing token usage up to 98%. Supports viewport limiting and compact mode for inspecting TUI applications without hitting token limits.
Instructions
Takes a token-optimized screenshot of the terminal screen using a layered format that reduces token usage by 85-98%. Returns only the data layers you need (text, cursor, colors, styles). Supports viewport limiting to show just a region or area around cursor. Essential for inspecting TUI applications without hitting token limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminalId | Yes | The terminal ID to read from | |
| layers | No | Data layers to include. 'text' for content, 'cursor' for position, 'styles' for combined formatting, individual style layers, or color layers with palette. Default: ['text', 'cursor'] for minimal token usage | |
| region | No | Limit to specific viewport rectangle to reduce tokens | |
| aroundCursor | No | Show N lines around cursor (e.g., 5 shows 11 lines total). Great for reducing tokens when debugging at cursor position | |
| compact | No | Skip empty lines to further reduce token usage |