Drive Display Start
drive_display_startDrive a Meshtastic device UI through input steps and capture a mirrored screen after each, returning a job ID to poll for results.
Instructions
Drive the device UI with input steps and capture the mirrored screen after each.
One connection covers the whole walkthrough. Returns a job_id at once; poll
drive_display_poll. Each step reports changed_px against the previous snapshot; 0
means the UI ignored the input or it was a no-op.
These are real key presses: Enter (SELECT, SELECT_LONG) in a focused MUI text
field sends the message on the mesh, and CANCEL turns a BaseUI screen off when no
menu is open. The PNGs show mesh-sourced text. Every input: docs/display-mirror.md.
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": {
"steps": "<steps>"
},
"name": "drive_display_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port or `tcp://host[:port]`; omit to auto-select the one likely Meshtastic device. | |
| wake | No | One event pressed first, as in `capture_display`. | |
| scale | No | Enlarges a small panel, as in `capture_display`. | |
| steps | Yes | At most 32 `{"event", "kb_char"?, "touch_x"?, "touch_y"?, "label"?}` with `send_input_event` names or codes: a tap is `USER_PRESS` with coordinates, typing is any code with `kb_char`. | |
| out_dir | No | Where the PNGs go, inside `MESHTASTIC_MCP_CAPTURE_DIR`; omit for a per-job directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||