wait_for_url
Waits for the browser URL to match a pattern after form submissions, logins, or redirects. Use it to confirm navigation succeeded and return the final URL.
Instructions
[Agent Browser] Wait for URL to contain a pattern (substring match). Use after form submissions, login flows, or redirects. E.g., wait_for_url('/dashboard'). Returns data.url with the final URL.
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": "wait_for_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |