execute_shell_command_code
Execute shell commands in the VS Code integrated terminal. Set a working directory and timeout to control command 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) |