wait_for_ui
Wait for a UI element to appear, disappear, or the screen to change on an Android device, with configurable timeout and polling interval.
Instructions
Poll for a bounded UI, foreground, disappearance, or screen-change condition.
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": "wait_for_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll_ms | No | ||
| activity | No | ||
| selector | No | ||
| timeout_ms | No | ||
| package_name | No | ||
| disappearance | No | ||
| screen_change | No |