Fetch URL
fetch-urlRetrieve web pages or files as your real browser, even when generic crawlers are blocked; returns clean Markdown for HTML, preserves JSON/text, and saves PDFs/binaries locally.
Instructions
Retrieve a web page or file from the user's own machine, reproducing the user's access (their IP/VPN and a real browser User-Agent) so resources that block generic crawlers still work. Runs a retrieval ladder (curl → wget → headless Chrome) and returns HTML as clean Markdown, JSON/text as-is, and saves PDFs/binaries to disk with a reported path. Use this to read sources that a direct client cannot reach; pair it with web search, which finds the URLs to fetch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The absolute http(s) URL to retrieve. | |
| method | No | Retrieval strategy. 'auto' (default) runs the full ladder, escalating to a headless browser only if a page is blocked or JS-rendered. Force 'chrome' for known JavaScript-heavy or bot-protected pages. | auto |
| cookie_file | No | Optional path to a Netscape-format cookie jar, to retrieve session-gated content the user is logged into. | |
| timeout_seconds | No | Maximum time to wait for the retrieval, in seconds (1-120). |