Tools
Every model uses the same 23 tools, as OpenAI-style function definitions. The model only emits tool calls. The runtime on the Flipper One executes them and returns JSON results. The exact JSON schemas (tools.json) and the system prompt will ship with the v0.1 runtime files. Pass them unchanged, because the models were trained on exactly these definitions.
In the tables, name? marks an optional parameter. Confirm lists what the runtime asks the user to approve before running. If the user declines, the tool returns {"error": "user_denied"} and the model is trained to accept that and offer alternatives.
Shell and Kali
| Tool | What it does | Parameters | Confirm |
|---|---|---|---|
linux_command |
Run any shell command line on the Flipper One (Kali Linux, bash). Pipes and scripts allowed. Prefer kali_tool for a single security tool. Long output is truncated and saved to a file. | command (string)timeout_s? (integer; Default 30, max 600) |
commands that change the system (rm, mv, dd, package installs, service and network changes, redirects to files...) or start an active security tool |
kali_tool |
Run a Kali Linux security tool (nmap, tshark, tcpdump, binwalk, aircrack-ng, sqlmap...). Long output is truncated and saved to a file. | tool (string; Executable name, e.g. nmap)args (string; Arguments, shell-quoted)timeout_s? (integer; Default 60, max 3600) |
always |
tool_help |
Look up how to use a command. brief = common examples (tldr); full = its --help / man page. Use only when unsure of a tool or option. | tool (string)detail? (string; one of brief, full)grep? (string; full: only lines matching this regex) |
no |
Knowledge and web
| Tool | What it does | Parameters | Confirm |
|---|---|---|---|
knowledge |
Search the on-device knowledge base (man pages, tldr, Flipper docs, CVE records, US ham radio exam questions and FCC Part 97 rules, saved notes) for exact reference details, or save a finding as a note for later. Search before answering detailed questions you are unsure about. | action (string; one of search, add)query? (string; search: keywords, e.g. 'nmap udp top ports')source? (string; one of man, tldr, flipper-zero, flipper-one, cve, ham, notes; search: limit to one source)limit? (integer; search: default 5, max 10)title? (string; add: short note title)text? (string; add: note body)tags? (array; add: optional tags) |
no |
web_search |
Search the web for current facts, CVEs or documentation. | query (string)max_results? (integer; Default 5, max 10) |
no |
fetch_url |
Fetch a web page and return its main text. | url (string) |
no |
Networking and radios
| Tool | What it does | Parameters | Confirm |
|---|---|---|---|
net_info |
List network interfaces (2x Gigabit Ethernet, Wi-Fi, USB, cellular) with link state, addresses, routes and DNS. | none | no |
wifi_scan |
Scan Wi-Fi networks (built-in MT7921, 2.4/5/6 GHz). | band? (string; one of 2.4, 5, 6, all) |
no |
ble_scan |
Scan for Bluetooth LE advertisers (BT 5.2). | duration_s? (integer; Default 10, max 60) |
no |
Header pins and buses
| Tool | What it does | Parameters | Confirm |
|---|---|---|---|
gpio_read |
Read a header GPIO pin (3.3 V logic). | pin (string; one of B0, B1, B2, B3, B4, B5, A2, A3, A4, A5, A6, A7) |
no |
gpio_write |
Drive a header GPIO pin high or low (3.3 V logic). | pin (string; one of B0, B1, B2, B3, B4, B5, A2, A3, A4, A5, A6, A7)value (integer; one of 0, 1) |
always |
uart_transfer |
Open a header UART, optionally send data, and read the reply. | port (string; one of UART2, UART5, UART6)baud (integer; e.g. 115200)send? (string; Data to send; \r\n escapes allowed)read_ms? (integer; Default 1000) |
when send is set |
i2c_transfer |
Scan a header I2C bus, or read/write a device register. | bus (string; one of I2C2, I2C3, I2C4)action (string; one of scan, read, write)address? (string; 7-bit, hex, e.g. 0x3c)register? (string; hex)data? (string; hex bytes to write)length? (integer; bytes to read) |
write |
spi_transfer |
Full-duplex SPI transfer on a header bus. | bus (string; one of SPI3, SPI4)data (string; hex bytes to send)speed_hz? (integer)mode? (integer; one of 0, 1, 2, 3) |
always |
can_send |
Send one CAN frame. | bus (string; one of CAN0, CAN1)id (string; hex)data (string; up to 8 bytes, hex)bitrate? (integer; e.g. 500000) |
always |
can_dump |
Capture CAN frames for a period. | bus (string; one of CAN0, CAN1)bitrate (integer)duration_s? (integer; Default 10, max 120)filter_id? (string; hex) |
no |
M.2 and USB modules
| Tool | What it does | Parameters | Confirm |
|---|---|---|---|
modules_info |
List installed add-on modules (M.2 and USB): cellular modem, SDR, GNSS, LoRa, storage, with driver status. | none | no |
cellular |
Control the M.2 cellular modem (ModemManager). | action (string; one of status, signal, connect, disconnect, sms_list, sms_send, at)apn? (string; connect)number? (string; sms_send)text? (string; sms_send)command? (string; at: raw AT command) |
connect, sms_send, at |
gnss |
Get a position fix or satellite view from a GNSS receiver (gpsd). | action (string; one of fix, satellites)timeout_s? (integer; Default 30) |
no |
sdr |
Use an SDR module (SoapySDR): device info, power sweep over a frequency range, IQ capture to a file, decode known protocols (rtl_433), or transmit an IQ file. | action (string; one of info, sweep, capture, decode, transmit)freq_hz? (integer; Center frequency (capture/decode/transmit))start_hz? (integer)stop_hz? (integer)bin_hz? (integer; sweep resolution)sample_rate? (integer)gain_db? (number)duration_s? (integer; Default 10)file? (string; IQ file to write (capture) or send (transmit)) |
transmit |
lora |
Use a LoRa mesh module (Meshtastic): node info, list mesh nodes, send a text message, or listen for messages. | action (string; one of info, nodes, send, listen)text? (string)channel? (integer; Channel index, default 0)dest? (string; Node ID, default broadcast)duration_s? (integer; listen: default 60) |
send |
Flipper Zero
| Tool | What it does | Parameters | Confirm |
|---|---|---|---|
send_to_flipper_zero |
Run a CLI command on a USB-connected Flipper Zero, which adds Sub-GHz, NFC, 125 kHz RFID, IR and iButton. If none is connected the user is asked to plug one in, so don't check first. Errors 'user_cancelled' / 'connect_timeout': tell the user, don't retry. | command (string; e.g. 'device_info')timeout_s? (integer; Default 15, max 300)connect_wait_s? (integer; Default 120) |
transmit, emulate, write, delete/rename/format storage, gpio set, update, factory reset |
Escalation
| Tool | What it does | Parameters | Confirm |
|---|---|---|---|
escalate |
Hand the request to a more capable model the user has configured: for multi-step tasks, long or tricky code, deep analysis, or anything you can't answer well. Its answer goes straight to the user. | task (string; The full request, restated)context? (string; Relevant findings and tool output so far) |
no |
Conventions:
- Long shell output is truncated (
"truncated": true, head and tail kept) and the full text is saved to the file named infull_output, which the model can search withlinux_command. send_to_flipper_zeropasses one Flipper Zero CLI command (for examplesubghz rx 433920000 0,rfid read,storage list /ext/subghz). Files on the Zero live under/ext/.... If no Zero is plugged in, the runtime asks the user to connect one.user_cancelledandconnect_timeoutare reported to the user, not retried.escalateis only offered when the user has configured a bigger model (Inkling 2 Mini on the 16 GB Flipper One, or another model the user chooses). The bigger model's answer goes straight to the user. The fine-tuned models are trained both with and without it, so they work either way.- Inkling 2 Mini v0.1 is stock weights: it gets the same tools and system prompt at runtime but isn't fine-tuned on them until v0.2.
- Pin, bus and port names (
B0–B5,A2–A7,UART2,I2C2,SPI3,CAN0, ...) follow the Flipper One header. Hardware, module and Flipper Zero results in the v0.1 training data are simulated (see the known limitation above).
System prompt (keep identical at runtime):
You are the assistant on a Flipper One, a pocket ARM Linux computer for networking, hardware hacking and security work. Use the tools to act on the device; answer directly when no tool is needed. Be concise. Only scan, capture, transmit or emulate against networks and devices the user is authorized to test.