iphone_tap_text
Tap a visible iPhone element by its label text instead of screen coordinates: locates buttons, cells and links by visible text alone, so a tap does not depend on layout or screen size.
Instructions
Find a visible element by its text and tap its center.
Prefer this over iphone_tap for buttons, cells and links with a label: it does not depend on layout or
screen size. If nothing matches, it says so and taps nothing; with several matches it reports how many
there are so you can pick another with `index`. Like a finger tap, the effect depends on the element.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": {
"text": "<text>"
},
"name": "iphone_tap_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Visible text of the element to tap, matched case-insensitively against its label, name and value. | |
| exact | No | true requires the whole label to equal the text instead of containing it. | |
| index | No | Which match to tap when several elements match, 0 = topmost on screen. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |