power
Controls a Flipper Zero's device state and external 5V OTG supply, enabling shutdown, reboot, DFU entry, and OTG toggling.
Instructions
Control device power. action: off | reboot | reboot2dfu | otg_on | otg_off.
All actions are gated behind FLIPPER_ENABLE_TX. Power-down and reboot drop the USB link. otg_on/otg_off toggle the external 5V supply.
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": {
"action": "<action>"
},
"name": "power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |