fetch
Retrieve full clean page content from a recent search result when the snippet isn't enough, as markdown with title, description, and final URL. Optionally, pass a query for relevant passages.
Instructions
Fetch the full, clean content of ONE web page as markdown. Use this to READ a result you got from web_search when the snippet isn't enough and you need the page's actual text - exact pricing, full docs, the complete article. Check the search snippet first: for many factual questions it already contains the answer, and a fetch costs a page. The url MUST be one a recent search in this session returned: fetch reads your grounded sources, it is not a general-purpose scraper for arbitrary URLs. Returns clean markdown in content (set clean=false for raw HTML), plus the page's title, its description, and the FINAL url after redirects - cite that one. Pass query (what you want from the page) to also get passages: the few most-relevant verbatim slices, so a tight context window can read those instead of the whole page. This call is synchronous - it returns the content or an honest failure, and you never poll. A page we could not really read is reported as a failure, NEVER as content, so you will not be handed a bot-wall or a consent screen to summarise. Costs 1 page per successful call; a failed fetch is free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| clean | No | ||
| query | No | ||
| max_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||