execute_bash_script
Run bash scripts in a WSL2 Linux environment by specifying the script path, optional arguments, working directory, and timeout. Ideal for automating tasks directly from Claude Desktop.
Instructions
Execute a bash script file in WSL2 Linux environment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
args | No | Arguments to pass to the script (optional) | |
scriptPath | Yes | Path to the bash script file | |
timeout | No | Timeout in milliseconds (optional, uses config default) | |
workingDirectory | No | Working directory for the script (optional) |
Input Schema (JSON Schema)
{
"properties": {
"args": {
"description": "Arguments to pass to the script (optional)",
"items": {
"type": "string"
},
"type": "array"
},
"scriptPath": {
"description": "Path to the bash script file",
"type": "string"
},
"timeout": {
"description": "Timeout in milliseconds (optional, uses config default)",
"type": "number"
},
"workingDirectory": {
"description": "Working directory for the script (optional)",
"type": "string"
}
},
"required": [
"scriptPath"
],
"type": "object"
}