poe_cycle
Power-cycles a PoE port device by switching PoE off for a set interval and back on, with dry-run default and protected-port refusal.
Instructions
Power-cycle the device on a PoE port: PoE off, wait off_seconds (2..60), PoE on. PoE is switched on again even if the wait or the session fails (finally, then one retry in a new session). Protected ports are refused hard. dry_run=true by default. Does not save.
SWITCH_PROTECTED_PORTS is unset or invalid: port writes that check it are refused on every port (fail-closed). Caution ports (SWITCH_CAUTION_PORTS): none.
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": {
"port": "<port>"
},
"name": "poe_cycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| dry_run | No | ||
| off_seconds | No | ||
| confirm_caution_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |