assert_text_present
Verify whether specified text appears anywhere on a web page within a given timeout. Returns success if found, or an error with a sample of body text if not.
Instructions
⭐ Verify text appears anywhere on page within timeout. Returns ok(found) or err(not found + sample of body text).
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_present"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |