gpio_read
Reads the state of a specified GPIO pin on a Flipper Zero over Bluetooth LE. Supports pins PC0, PC1, PC3, PB2, PB3, PA4, PA6, PA7.
Instructions
Read a GPIO pin over BLE (gpio_read_pin). pin: PC0|PC1|PC3|PB2|PB3|PA4|PA6|PA7. Read-only. (Corrects the earlier 'GPIO is CLI-only' note — GPIO IS in the RPC schema.)
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": {
"pin": "<pin>"
},
"name": "gpio_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |