parallel_command
Execute a read-only CLI command on multiple network devices simultaneously, using concurrent threads to accelerate troubleshooting.
Instructions
Run a read-only command on multiple devices simultaneously.
Executes the same CLI command across all (or specified) devices in parallel using a thread pool. Much faster than querying one-by-one.
Args: command: CLI command to run (must be read-only) devices: Comma-separated device names. Empty = all devices. max_workers: Max concurrent threads (default: 10)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| devices | No | ||
| max_workers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |