Read a URL
fetchRetrieves a URL through the browser using its cookies and fingerprint, returning rendered HTML as Markdown or other content as text; also performs API calls and reports bot blocks.
Instructions
Reads a URL through the browser, with its cookies, fingerprint and network, in a hidden page that never becomes a tab: HTML is rendered and returned as Markdown, anything else as text. A method, headers or a body make it an API call from a page of the URL's origin. Says when a bot challenge or a block got in the way. Needs an open browser (headless is fine).
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": {
"url": "<url>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| mode | No | raw: the response as it is, even HTML. | |
| links | No | Also list every link on the page. | |
| method | No | ||
| headers | No | ||
| max_chars | No | How much of the text to return (default 40,000); the rest is saved to a file. |