wait_for_element
Wait for a UI element to appear on screen by text or resource-id, up to a timeout. Resolves when the element is present in the hierarchy.
Instructions
Var, amig egy adott elem (szoveg es/vagy resource-id alapjan) megjelenik a kepernyon, legfeljebb timeout_seconds-ig.
A 'wait_for_text' egyszeru substring-keresest vegez a nyers XML-ben; ez a tool a strukturalt elem-listaban keres, igy resource-id-re is tud varni (ami nem feltetlenul lathato szovegkent a kepernyon).
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_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| serial | No | ||
| resource_id | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |