gpio_read
Read the current digital state of a Flipper Zero GPIO pin to check if it is high or low. Use it to verify pin levels for wiring checks and input monitoring.
Instructions
Read the current digital state of a GPIO pin.
pin: one of PA4, PA6, PA7, PB2, PB3, PC0, PC1, PC3 (Flipper naming).
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 |