execute_shell
Execute commands on remote agents via cmd.exe (Windows) or /bin/sh (Linux).
Instructions
Execute a command via cmd.exe (Windows) or /bin/sh (Linux). Args: command (required) — e.g. 'whoami /all' or 'ipconfig /all'
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_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |