Check or wait for an element
check_elementVerify or wait for a mobile UI element state—exists, absent, text, enabled, checked, focused, or moves—without interacting, using an optional timeout and inverted expectation.
Instructions
Assert or wait for an element, touching nothing: check exists, absent, text (equals), enabled, checked, focused, moves; expect: false for the opposite. timeoutMs (at most 15000) waits until it holds. Returns one line, or fails with CHECK_FAILED saying what it found. Whole screen: check_screen; look only: read_screen.
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": "check_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| read | No | ||
| check | No | exists | |
| equals | No | ||
| expect | No | ||
| selector | No | ||
| timeoutMs | No |