browser_assert
Assert browser states: page contains text, URL matches, or element visible. Returns pass/fail to prove an outcome, confirming the final destination rather than assuming a link indicates success.
Instructions
Prove an outcome instead of inferring it. Provide one of: contains (page text includes string), url_includes (current url contains string), ref_visible (a ref is present and visible). Returns pass/fail. When the goal is to reach a specific result, a matching link in a list is NOT success — click through and assert the destination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_assert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | ||
| contains | No | ||
| ref_visible | No | ||
| url_includes | No |