wait_for
Waits until a specified Android UI element appears by text or ID, or disappears when gone is set, before continuing.
Instructions
Wait until an element with the given text/id appears (or, with gone=true, disappears).
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| gone | No | ||
| text | No | ||
| exact | No | ||
| serial | No | adb serial; optional when exactly one device is connected | |
| observe | No | changes | |
| timeout_ms | No |