pt_show
Runs privileged show or exec commands on Cisco routers and switches and returns their output, with optional regex filtering to keep only matching lines.
Instructions
Run show/exec commands (privileged EXEC) on a router/switch and return their output. commands: one or more, e.g. ['show ip interface brief', 'show ip route']. grep: optional regex; keep only matching lines (like '| include').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | ||
| device | Yes | ||
| commands | Yes |