assert
Validate browser automation state by checking text, visibility, URL, element counts, or selector presence in one unified call.
Instructions
Unified assertion (text/visible/hidden/url/count/element)
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": {
"type": "<type>"
},
"name": "assert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| type | Yes | ||
| state | No | ||
| pattern | No | ||
| timeout | No | ||
| expected | No | ||
| operator | No | ||
| selector | No |