Launch TUI
launchStart TUI applications in managed pseudo-terminals for interactive control, returning session IDs for follow-up operations.
Instructions
Launch a TUI application in a managed pseudo-terminal. Returns a session ID for subsequent interactions.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to run (e.g. "node app.js", "vim file.txt", "htop") | |
| cols | No | Terminal width in columns (default: 80) | |
| rows | No | Terminal height in rows (default: 24) | |
| cwd | No | Working directory for the process |