run_netmiko_command
Execute CLI commands concurrently on filtered network devices via Netmiko; optionally parse output into structured data using TextFSM.
Instructions
Run a show command concurrently on multiple hosts via Netmiko.
Args: command: The CLI command to execute (e.g., 'show version'). filter_criteria: Dictionary of key-value pairs to filter target hosts. If empty, runs on ALL hosts! use_textfsm: If True, attempts to parse output into structured data using ntc-templates.
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": {
"command": "<command>"
},
"name": "run_netmiko_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| use_textfsm | No | ||
| filter_criteria | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |