Verify Action
verify_actionCheck if an expected text, app, activity, or screen change appears on the live device screen. Confirm action outcomes and detect failures before proceeding.
Instructions
Check an outcome against the live screen. kind: text (visible), gone (not visible), app (foreground package or name), activity, changed (the last action changed the screen).
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": {
"expected": "<expected>"
},
"name": "verify_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | text | |
| device | No | ||
| timeout | No | ||
| use_ocr | No | ||
| expected | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||