export_image
Export the current ASCII art frame as an image (PNG, JPG, or SVG) for full-quality download. Specify file path and format; optional size multiplier and grid lines.
Instructions
Export the current frame as an image (PNG, JPG, or SVG). The browser renders the image at full quality. Requires live mode with a connected browser.
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": {
"filePath": "<filePath>"
},
"name": "export_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File path to save (relative to project dir). Extension determines format (.png, .jpg, .svg). | |
| format | No | Image format (auto-detected from file extension if omitted) | |
| sizeMultiplier | No | Size multiplier (1x, 2x, 3x, or 4x) | |
| includeGrid | No | Include grid lines in the export | |
| quality | No | JPEG quality (1-100, only used for JPG format) | |
| frameIndex | No | Frame to export (defaults to current frame) |