run_command
Execute arbitrary shell commands (PowerShell, cmd, bash) with full system permissions and wait for completion. Automate tasks requiring direct command execution.
Instructions
Run an arbitrary PowerShell/cmd/bash command and wait for completion. FULL-ACCESS tool: commands run with the Windows account permissions of this server. Use shell=auto normally.
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 | ||
| shell | No | auto | |
| command | Yes | ||
| environment | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||