execute_bash_command
Execute bash commands directly in a WSL2 Linux environment on Windows. Specify the command, working directory, and optional timeout for efficient command execution.
Instructions
Execute a bash command in WSL2 Linux environment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The bash command to execute | |
timeout | No | Timeout in milliseconds (optional, uses config default) | |
workingDirectory | No | Working directory for the command (optional, defaults to current directory) |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "The bash command to execute",
"type": "string"
},
"timeout": {
"description": "Timeout in milliseconds (optional, uses config default)",
"type": "number"
},
"workingDirectory": {
"description": "Working directory for the command (optional, defaults to current directory)",
"type": "string"
}
},
"required": [
"command"
],
"type": "object"
}