run_command
Run any command on Windows, macOS, or Linux via PowerShell or shell to control the local computer.
Instructions
Run an arbitrary command through PowerShell on Windows or /bin/sh on macOS/Linux.
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 | ||
| command | Yes | ||
| timeoutMs | No |