wait_for_element
Wait for a specific accessibility element to appear on an Android device, then retrieve it for UI automation.
Instructions
Wait until an accessibility element appears, then return it.
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": {
"device_id": "<device_id>"
},
"name": "wait_for_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| exact | No | ||
| timeout | No | ||
| interval | No | ||
| device_id | Yes | ||
| class_name | No | ||
| resource_id | No | ||
| content_desc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||