power_cycle
Reboot hardware attached to a smart plug by power-cycling the outlet: turn it off briefly, then on again. Useful for restarting development boards or other connected devices.
Instructions
Power-cycle whatever is plugged into an outlet: switch it off, wait, switch it back on.
Intended for rebooting hardware attached to a smart plug, such as a development board. Power is restored even if the wait is interrupted. Keep off_seconds short -- the call blocks for that long and must finish inside the MCP client's tool-call timeout.
Args: outlet_id: The outlet's id, as returned by list_outlets. off_seconds: How long to stay powered off, in seconds (0.5 to 300).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outlet_id | Yes | ||
| off_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||