Run Command
run_commandExecute a command against multiple devices simultaneously to automate network operations and speed up troubleshooting.
Instructions
Run a single command against multiple devices.
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": {
"cmd": "<cmd>",
"devices": "<devices>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | The command to run on the devices | |
| devices | Yes | The list of devices to run the command on |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | List of command execution results for each device |