Wait For
wait_forPause test execution until specified text appears, an app/activity is in the foreground, or disappears when gone=true. Handles long waits for downloads or uploads with timeout and polling interval.
Instructions
Wait until text is on screen and/or an app/activity is in the foreground (gone=true waits for it to disappear). For long waits (downloads, uploads); gestures already settle.
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 |
|---|---|---|---|
| gone | No | ||
| text | No | ||
| device | No | ||
| package | No | ||
| timeout | No | ||
| activity | No | ||
| interval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||