android_ui_wait_for
Waits for a UI element to appear or disappear on the Android screen based on specified attributes, enabling synchronization after actions instead of using fixed delays.
Instructions
Wait until a selector becomes present or absent. Use this after actions instead of blind sleeps.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "android_ui_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| state | No | present | |
| pollMs | No | ||
| viewId | No | ||
| enabled | No | ||
| visible | No | ||
| editable | No | ||
| className | No | ||
| clickable | No | ||
| timeoutMs | No | ||
| description | No | ||
| packageName | No | ||
| textContains | No | ||
| caseSensitive | No | ||
| descriptionContains | No |