assert_text
Verify if a text is visible or absent on the Android screen during automated tests. Returns a clear PASS/FAIL result instead of throwing exceptions, enabling the agent to decide next steps.
Instructions
Ellenorzi, hogy egy szoveg lathato-e (vagy NEM lathato-e) a kepernyon.
Hasznos automatizalt tesztfolyamatok zaro lepeserekent ('sikeres' felirat megjelent-e, hibauzenet NEM jelent-e meg, stb.). Sose dob kivetelt - mindig egy vilagos PASS/FAIL szoveget ad vissza, hogy az agent eldonthesse, mit tegyen.
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": {
"text": "<text>"
},
"name": "assert_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| serial | No | ||
| should_exist | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |