run_command
Execute shell commands in persistent terminal sessions. Reuse existing sessions by ID or create new ones for isolated command execution.
Instructions
Execute a command in a reusable terminal session. Reuses session_id (or default) unless create_session=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| session_id | No | ||
| terminal_name | No | Custom name for the VS Code terminal tab. | |
| create_session | No |