run_powershell
Run PowerShell commands and capture output, with automatic security blocking of dangerous operations.
Instructions
Execute a PowerShell command and return the output.
The command passes through the full security validation pipeline before execution. Dangerous commands (format, shutdown, etc.) are blocked automatically.
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_powershell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The PowerShell command or expression to execute. | |
| timeout | No | Maximum execution time in seconds (1–3600). Default: 60. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||