fetch_page
Fetch any web page and get clean markdown with metadata. Renders JavaScript, waits for elements, strips navigation, and even extracts PDFs.
Instructions
Fetch one web page and return its content as clean markdown with metadata. Set js_render=true for pages that need JavaScript to render (SPAs, infinite-scroll listings, most modern storefronts). If a rendered page still comes back sparse, give it longer with wait_ms, or wait for a specific element with wait_for (a CSS selector) — that is more reliable than a fixed delay. Article-shaped pages have their navigation, cookie banners and footers stripped automatically; set main_content=false to keep the whole page. PDFs are extracted to text.
actions drives the page before reading it (implies js_render). Each is {action, selector, ...}: click, type (text), press (key), wait (ms), wait_for, scroll (times), scroll_to_bottom (max_rounds) for infinite scroll, and click_until_gone (max_clicks) for a 'load more' button. Use it for cookie gates, paginated listings and search forms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| actions | No | ||
| wait_ms | No | ||
| wait_for | No | ||
| js_render | No | ||
| main_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |