export_opentui
Export ASCII art frames as Python TUI components with optional animation support.
Instructions
Export the current frame as an OpenTUI (Python TUI) component.
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": "export_opentui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | File path to save (.py file). If omitted, returns content only. | |
| frameIndex | No | Frame to export (defaults to current) | |
| className | No | Name for the Python class | AsciiDisplay |
| includeAnimation | No | Export all frames with animation support |