terminal_exec_screenshot
Execute a shell command and capture its full ANSI-colored output as a themed PNG terminal screenshot for reports, documentation, or professional terminal captures.
Instructions
Execute a command and capture a single PNG screenshot of its full output. One command = one image. This is the primary tool — use it for any shell command (pentest, sysadmin, dev, networking, etc).
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": {
"command": "<command>"
},
"name": "terminal_exec_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory (optional) | |
| scale | No | Scale factor 1-3 (default: 2) | |
| theme | No | ||
| title | No | ||
| width | No | Fixed terminal width in pixels | |
| prompt | No | ||
| command | Yes | Shell command to execute | |
| compact | No | Compact mode: less padding | |
| timeout | No | Timeout in ms (default: 30000) | |
| font_size | No | ||
| max_lines | No | Maximum output lines to render | |
| max_width | No | Maximum terminal width (default: 980) | |
| save_path | No | Full path for PNG output | |
| watermark | No | ||
| line_height | No | Line height multiplier (default: 1.4) | |
| show_chrome | No | ||
| show_timestamp | No |