tap_element
Tap a UI element by its DebugBridge ID and optionally wait for page or element conditions to confirm the tap result.
Instructions
Tap an element by stable DebugBridge ID.
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": {
"id": "<id>"
},
"name": "tap_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Debug element identifier, for example AutomationTest.primaryButton. | |
| timeoutMs | No | How long to wait for post-tap page availability or target criteria. Defaults to 8000. | |
| intervalMs | No | Polling interval after tap. Defaults to 300. | |
| waitAfterMs | No | Delay after tap before reading the next page. Defaults to 350. | |
| waitForLabel | No | Optional exact element label to wait for after tap. | |
| waitForPageID | No | Optional pageID to wait for after tap. | |
| waitForElement | No | Optional element criteria to wait for after tap. | |
| waitForPageIDs | No | Optional acceptable pageIDs to wait for after tap. | |
| waitForElementID | No | Optional element ID to wait for after tap. | |
| waitForLabelIncludes | No | Optional element label substring to wait for after tap. |