Wait for a destination and read it
read_after_navigationPolls a verified navigation until the expected URL and page heading load, then returns the accessibility snapshot. Returns dialogs immediately as blockers.
Instructions
After a verified address-bar navigation or clean-link click, poll until the page URL matches the expected destination and meaningful page content is present, then return that accessibility snapshot. A page dialog is returned immediately as an actionable blocker instead of waiting for hidden content. Pass expected_heading whenever known; readiness then requires that page heading, so unrelated nav/footer headings cannot satisfy the wait. This replaces wait_for_element followed by read_page. For a search destination pass accept_product_link true AND search_query set to the exact text you submitted — search_query is the query you typed, never a heading — so this site's durable search-URL pattern can be learned.
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": {
"expected_url": "<expected_url>"
},
"name": "read_after_navigation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| poll_ms | No | ||
| timeout_ms | No | ||
| expected_url | Yes | ||
| search_query | No | The EXACT search text that was submitted to reach this page — not a heading. Supply it only with accept_product_link true. It is used solely to learn this site's durable search-URL pattern when the observed URL provably encodes this text. | |
| window_address | No | ||
| expected_heading | No | Optional heading fragment. Empty is treated as omitted for homepage/storefront reads. | |
| accept_product_link | No | For a search-results destination only: accept a same-site product-shaped link when the site omits the expected results heading. |