device_ports
Retrieve a list of network ports for a device from LibreNMS, with optional column filtering.
Instructions
List ports for a device from LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | Device hostname or ID | |
| columns | No | Comma-separated list of columns to return (e.g., 'port_id,ifName,ifAlias,ifOperStatus') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||