mobile_wait
Wait for a UI element to appear or disappear on Android, with timeout. Specify text, resource ID, class name, or content description.
Instructions
Wait for a UI element to appear or disappear on the screen, with timeout.
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": "mobile_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to wait for | |
| serial | No | ADB device serial (optional) | |
| timeout | No | Max wait time in ms (default: 10000) | |
| className | No | Class name to wait for | |
| disappear | No | Wait for element to disappear instead of appear (default: false) | |
| description | No | Content description to wait for | |
| resource_id | No | Resource ID to wait for |