wait_element
Wait for a UI element to appear or disappear on a HarmonyOS device, using properties like text, type, or ID, with configurable timeout and polling interval.
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_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| state | No | found | |
| device_id | No | ||
| window_id | No | ||
| element_id | No | ||
| hdc_server | No | ||
| timeout_ms | No | ||
| bundle_name | No | ||
| interval_ms | No | ||
| element_type | No |