get_poe_status
Retrieve Power over Ethernet (PoE/PoE+) status for switch ports and chassis budget, including power usage, allocation, PD type, and faults, to diagnose why devices are not receiving power.
Instructions
Get Power over Ethernet (PoE/PoE+) status: chassis power budget and, per port, admin state, operational state, power consumed and allocated (watts), PD type (802.3af/at/bt/legacy), power class, priority, and faults.
Use this to answer: which ports power APs/cameras/phones, how close the switch is to its PoE budget, which ports have PoE faults, or why a device isn't getting power.
Args:
port_filter: Substring or glob on port name, e.g. "1/1/1", "1/1/*".
only_powered: Only ports currently delivering power.
only_faults: Only ports reporting a PoE fault/error.
include_cli_details: Add the fields RESTCONF lacks (chassis budget,
allocated power, PD type, priority, faults) from show inline power
over SSH. Set False for a faster RESTCONF-only answer.
Returns {source, summary:{powered_ports, total_power_used_w, total_w, free_w, allocated_pct_of_budget, ports_with_faults}, ports:[...]}. Summary is always computed over ALL PoE ports, regardless of filters.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_poe_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only_faults | No | ||
| port_filter | No | ||
| only_powered | No | ||
| include_cli_details | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||