assert_url_matches
Verify the current page URL matches a specified substring or regex pattern to confirm the expected page is loaded.
Instructions
Assert current URL matches pattern (substring or regex).
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": {
"pattern": "<pattern>"
},
"name": "assert_url_matches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex | No | ||
| pattern | Yes |