execute_shell_command_code
Run shell commands in VS Code's integrated terminal to automate tasks, with optional working directory and timeout controls for controlled execution.
Instructions
Execute shell commands in VS Code integrated terminal
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": "execute_shell_command_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory for the command | . |
| command | Yes | The shell command to execute | |
| timeout | No | Command timeout in milliseconds (default: 10000) |