Verify Screen State (AI) [Pro]
verify_screenCheck if a specific assertion about the current mobile screen is true. Uses AI to analyze the screen and return a boolean result with a confidence score and evidence of what was found.
Instructions
[Pro] Uses AI to verify whether a specific assertion about the current screen is true. Returns a boolean result with confidence score and evidence. Example assertions: 'the login was successful', 'an error message is displayed', 'the cart has 3 items'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>",
"assertion": "<assertion>"
},
"name": "verify_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device serial ID | |
| assertion | Yes | What to verify about the current screen state, e.g. 'the login was successful' or 'an error message is showing' |