terminal_screenshot
Render captured command output as a terminal-styled PNG screenshot for reports and documentation, using the last capture if no ID is provided.
Instructions
Render a captured command output as a terminal-styled PNG screenshot. Uses the last capture if no ID given.
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": "terminal_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Screenshot scale factor, 1 = 1x, 2 = 2x retina (default: 2) | |
| theme | No | Terminal color theme (default: tokyonight) | |
| title | No | Custom window title (default: command name) | |
| width | No | Fixed terminal width in pixels (default: auto, max 980) | |
| prompt | No | Custom prompt string (default: '$ ') | |
| compact | No | Compact mode: reduced padding and spacing (default: false) | |
| font_size | No | Font size in pixels (default: 14) | |
| max_lines | No | Maximum output lines to render, truncates the rest | |
| max_width | No | Maximum terminal width in pixels (default: 980) | |
| save_path | No | Full path to save the PNG (default: auto-generated in ~/terminal-screenshots/) | |
| watermark | No | Watermark text in bottom-right corner | |
| capture_id | No | ID of the capture to render (default: last capture) | |
| line_height | No | Line height multiplier (default: 1.4) | |
| show_chrome | No | Show macOS window chrome with traffic lights (default: true) | |
| show_timestamp | No | Show timestamp in footer (default: true) |