Get Interfaces for a Device
get_interfaces_for_deviceLists a device's ports with names, link/protocol state, MAC, IPv4 address, and attached remote port so you can inspect interfaces and connectivity in Packet Tracer.
Instructions
List a device's ports: name, IPC class, link/protocol state, MAC, IPv4 address/mask (host ports), and the remote port name if a cable is attached.
Examples:
"What interfaces does R1 have?"
"Which ports on the switch are connected?"
"Show PC0's IP address"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Device display name as shown in Packet Tracer (e.g. 'Router0', 'PC1') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |