phone_scroll_find
Locates an exact label, swiping within a set budget when it is off screen; stops on ambiguous, covered, or undrawn labels and returns a target snapshot or candidates.
Instructions
Find one exact label, swiping at most max_swipes (default 1, max 5) when it is off screen. Stops at once — no further swipe — when the label is ambiguous (candidates with index and frame), covered or not drawn. Found: target plus a snapshot for phone_tap_element; not found: on-screen labels containing the text as candidates. Absence after the budget is not proof; look before swiping on. Optional snapshot from a read of the target app refuses on app change. swipes_uncertain: never replay.
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": {
"label": "<label>"
},
"name": "phone_scroll_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Narrow to one element kind (e.g. `Button`) when a text shares the label. | |
| label | Yes | Exact label to find. | |
| region | No | Swipe inside this normalized `[x, y, w, h]` area (default: whole screen). | |
| instance | No | daemon instance name | |
| snapshot | No | A snapshot from an earlier read of the target app: when given, a different foreground app refuses before any swipe. Not filled in for you. | |
| direction | No | `down` (default) or `up`: which way to look when the label is absent. | |
| max_swipes | No | Swipes allowed when the label is not on screen, 0–5 (default 1). |