Assert
assertValidate browser conditions such as URL, title, visible text, element visibility, or input values, returning pass/fail results with failure context.
Instructions
Run a browser assertion and return a pass/fail result with failure context.
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": {
"kind": "<kind>"
},
"name": "assert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| pageId | No | Page id. Defaults to the active page. | |
| expected | No | ||
| selector | No | ||
| timeoutMs | No |