execute_command
Run shell commands securely within Windows Subsystem for Linux (WSL) by specifying the command, working directory, and timeout, with built-in validation and protection against vulnerabilities like shell injection.
Instructions
Execute a command in WSL
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command to execute | |
timeout | No | Timeout in milliseconds | |
working_dir | No | Working directory for command execution |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "Command to execute",
"type": "string"
},
"timeout": {
"description": "Timeout in milliseconds",
"type": "number"
},
"working_dir": {
"description": "Working directory for command execution",
"type": "string"
}
},
"required": [
"command"
],
"type": "object"
}