run_command
Execute shell commands in a specified working directory with timeout. Use for system tasks, but be aware of potential side effects.
Instructions
Execute a shell command. DESTRUCTIVE operation with side effects.
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 |
|---|---|---|---|
| cwd | No | Working directory for the command | |
| command | Yes | The command to execute | |
| timeout | No | Timeout in milliseconds |