phone_tap_label
Taps an iPhone UI element by its exact visible label after checking a fresh element snapshot; returns an error and performs no action when zero or multiple matches exist.
Instructions
Tap an iPhone UI element by an EXACT visible label (requires drivable=true in phone_status). Reads a fresh phone_elements snapshot, requires exactly one match, then performs a snapshot-bound tap. Zero or multiple matches return an error and send NO action. For duplicate labels, choose by identifier/kind/state from phone_elements and call phone_tap_element with that response's snapshot.
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_tap_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | The element's visible accessibility label, exactly as shown by `phone_elements` (e.g. "新备忘录", "Connect"). | |
| observe | No | Default true: reply with the settled screen (delta since your last look, or the full tree); false = bare action, fastest. | |
| instance | No | daemon instance name |