wait_for
Waits for a labeled UI element to appear on the Android screen before proceeding, ensuring reliable automation when elements load asynchronously.
Instructions
Wait until an element with this label appears.
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": {
"text": "<text>"
},
"name": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | label to wait for | |
| timeout_ms | No | 1000-30000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |