Wait For Nodes
wait_for_nodesPoll UI elements until one matches specified text, class, ID, or description, then return matches; returns an empty list on timeout.
Instructions
Poll find_nodes until something matches (or timeout, returning []).
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_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | ||
| poll | No | ||
| text | No | ||
| device | No | ||
| timeout | No | ||
| on_screen | No | ||
| class_name | No | ||
| resource_id | No | ||
| any_contains | No | ||
| desc_contains | No | ||
| text_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |