execute_powershell
Run PowerShell commands on Windows agents to manage configurations, query user information, or execute administrative tasks.
Instructions
Execute a PowerShell expression (Windows only). Args: command (required) — e.g. 'Get-LocalUser | Select Name,Enabled'
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": {
"agent_id": "<agent_id>",
"command": "<command>"
},
"name": "execute_powershell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |