run_command
Execute terminal commands in a specified working directory, with configurable timeout, shell execution, and environment variables.
Instructions
Execute a terminal command in a specified directory
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": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute | |
| workingDirectory | No | Working directory for command execution | . |
| timeout | No | Command timeout in milliseconds | |
| shell | No | Execute in shell | |
| env | No | Environment variables to set |