terminal_start
Launch an interactive Windows shell (PowerShell, pwsh, or CMD) and return its session ID plus initial screen, enabling AI agents to send input and read rendered output.
Instructions
Start an interactive terminal session and return its id plus the initial screen.
Args: shell: "powershell" (Windows PowerShell 5.1), "pwsh" (PowerShell 7), "cmd", or an absolute path to any executable. cwd: Working directory. Defaults to the server's current directory. env: Extra environment variables merged into the inherited environment. cols: Terminal width in columns (default 120). rows: Terminal height in rows (default 30). name: Session id. Auto-generated (t1, t2, ...) when omitted. replace: Kill an existing session with the same name and start a fresh one. args: Extra arguments passed to the shell or executable.
Returns: session_id, shell, cwd, pid, size, ready reason and the rendered screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| args | No | ||
| cols | No | ||
| name | No | ||
| rows | No | ||
| shell | No | powershell | |
| replace | No |