terminal.start
Start a new terminal session to run commands or control interactive TUI programs locally or via SSH.
Instructions
Start a new terminal session
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to run. Complex commands containing spaces or shell syntax are automatically wrapped with /bin/sh -c when args is empty. | |
| args | No | Command arguments | |
| cwd | Yes | Working directory | |
| cols | No | Terminal columns | |
| rows | No | Terminal rows | |
| provider | No | Preferred provider | |
| target | No | Terminal target: local or configured SSH profile | |
| env | No | Extra environment variables | |
| label | No | Session label | |
| ttlMs | No | Session TTL in ms | |
| transcript | No | Enable transcript recording |