console_execute
console_executeExecute CLI commands on one or multiple devices in parallel, using batch configurations to inspect or configure Cisco Packet Tracer labs in a single round-trip.
Instructions
Execute CLI commands on one or many devices in parallel.
Prefer batch_configs={device: [cmds...]} to configure or inspect multiple devices in a
single parallel round-trip instead of sequential 1-command calls. In Packet Tracer IOS,
avoid unsupported commands like show run interface X (use show running-config) and
ip ospf <pid> area (use network ... area ... under router ospf), and never leave
debug commands enabled.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "console_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| confirm | No | ||
| dry_run | No | ||
| commands | No | ||
| device_name | No | ||
| target_mode | No | preserve | |
| batch_configs | No | ||
| stop_on_error | No | ||
| capture_before_after | No | ||
| verification_commands | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||