Wait for Android UI state
android_wait_forWait for UI elements to reach a specified state by polling the semantic UI until conditions are met (exists, gone, enabled, checked, selected, focused).
Instructions
Poll the semantic UI until matching nodes exist, disappear, or have the requested state.
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": {
"selector": "<selector>",
"state": "<state>"
},
"name": "android_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| serial | No | ADB device serial. Required when multiple devices are connected. | |
| selector | Yes | ||
| timeoutMs | No | ||
| pollIntervalMs | No |