navigate_session
Navigate a browser session: load URLs, go back/forward, reload, or clear site data, then return the resulting page URL/title and chosen observation.
Instructions
Navigate a session: goto a URL (with optional wait_for selector / wait_for_network substring armed BEFORE the load), back, forward, reload (hard=true bypasses the HTTP cache), or clear_site_data (unregister service workers + clear CacheStorage for the origin, then reload — fresh-deploy mode; cookies are never touched; include_storage=true also clears localStorage/IndexedDB). Every navigation reports served_by_service_worker so a stale, SW-cached document is obvious. Returns the new URL/title and the chosen observation.
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": {
"session_id": "<session_id>",
"action": "<action>"
},
"name": "navigate_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to load (required for goto) | |
| hard | No | reload: bypass the HTTP cache (default: false) | |
| action | Yes | Navigation action | |
| observe | No | What to return about the resulting page. 'screenshot' (default): full-page image. 'none': structured result only, no image — cheapest, use through setup steps of a flow. 'map': semantic page map (get_page_map — token-light, best for 'what can I do next?'). 'checks': run_checks_on_session output (a11y/seo/perf/etc.). | screenshot |
| timeout | No | ms for wait_for / wait_for_network (defaults 10000 / 30000) | |
| wait_for | No | goto: CSS selector to wait for (visible) after the load | |
| session_id | Yes | Session ID | |
| wait_until | No | Navigation wait strategy for this call (default: server setting, networkidle) | |
| include_storage | No | clear_site_data: also clear localStorage/sessionStorage/IndexedDB (default: false; cookies are never cleared) | |
| wait_for_network | No | goto: plain URL substring of a response to wait for — armed before navigation so it can't be missed |