Execute PowerShell
execExecute arbitrary PowerShell commands on Windows to handle local development, package installation, system configuration, and tasks not covered by specific tools. Verify changes afterward.
Instructions
Run an arbitrary PowerShell command on this Windows PC. Use for local development, package installation, system configuration, services, processes, and tasks not covered by a more specific tool. Verify changes afterward.
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": "exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory; defaults to the Windows user profile | |
| command | Yes | PowerShell command to run | |
| timeoutSeconds | No |