navigate
Navigate to any URL and retrieve page content as fit_markdown, markdown, text, or HTML. Automatically uses a headless browser for JavaScript-rendered sites.
Instructions
Navigate to a URL and return the page content as fit_markdown (default, prunes boilerplate for token efficiency), structured markdown, plain text, or raw HTML. Automatically escalates from fast HTTP fetch to full headless browser when JavaScript rendering is detected (React, Next.js, Vue, Angular markers, or short bodies). Returns prose content (fit_markdown) plus a YAML accessibility tree structural section for subsequent tool calls. Use this as the primary tool for accessing any web page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Fully qualified URL to navigate to (must include protocol, e.g. https://example.com). Relative URLs are not supported. | |
| format | No | Output format for page content. 'fit_markdown' (default) prunes boilerplate (navs, footers, ads) before conversion for ~40% token savings; 'markdown' preserves full content with structure; 'text' strips all formatting; 'html' returns raw source. Use 'markdown' if fit_markdown seems to be missing important content. | |
| strip_images | No | If true (default), removes image references from output to save context tokens. Set false only when you need image URLs or alt text. | |
| content_depth | No | Controls how much page content to return. 'main' (default) extracts article/main content only; 'full' returns everything; 'slim' returns first 2000 chars of main content; 'none' skips content entirely (returns page_map only). | main |
| page_map_depth | No | Controls page_map verbosity. 'slim' (default) omits CSS selectors from elements (use @eN refs instead); 'full' includes raw CSS selectors for all elements; 'none' omits the page_map entirely. | slim |