launch_tui
Launch a terminal user interface application for automated testing, specifying the command, session, timeout, dimensions, and stream or buffer mode.
Instructions
Launch a TUI application for testing.
Args: command: The command to launch. session_id: Unique identifier for this session. timeout: Default pexpect timeout in seconds. dimensions: Terminal dimensions as WIDTHxHEIGHT. mode: "stream" for CLI tools, "buffer" for full TUIs (position/cursor aware).
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": "launch_tui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | stream | |
| command | Yes | ||
| timeout | No | ||
| dimensions | No | 80x24 | |
| session_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| error | Yes | ||
| width | Yes | ||
| height | Yes | ||
| command | Yes | ||
| success | Yes | ||
| session_id | Yes |