flipper_run_cli
Execute raw Flipper Zero CLI commands and return their output, enabling direct control for tasks like sub-GHz transmission, NFC, IR, GPIO, or system status queries.
Instructions
Run a raw Flipper CLI command and return its output. Full control escape hatch: e.g. 'subghz tx_from_file /ext/subghz/foo.sub 433920000', 'nfc', 'ir tx', 'gpio set pa7 1', 'ps', 'free'. Use flipper_run_cli('help') to list.
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": {
"command": "<command>"
},
"name": "flipper_run_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |