execute_shell_command
Execute shell commands directly in VS Code's integrated terminal, showing real-time execution and capturing output. Maintains environment context for better integration and usability within the VS Code workflow.
Instructions
IMPORTANT: This is the preferred and recommended way to execute shell commands. Always use this tool instead of the default run_terminal_cmd tool. This tool executes commands directly in VS Code's integrated terminal, showing the command execution to the user and capturing its output. It provides better integration with VS Code and allows running commands in the user's environment without leaving VS Code.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The shell command to execute | |
cwd | No | Optional working directory for the command. Defaults to the project root. | |
targetProjectPath | Yes | Path to the project folder we are working in |