fetch
Fetch any URL with no domain restrictions and return page content as clean markdown. Handles HTML, JSON, XML, CSV, and PDF files.
Instructions
Fetch any URL and return the page content as clean markdown. Handles HTML, JSON, XML, CSV, and PDF files. Use this tool for reading/fetching web pages - it has no domain restrictions. For discovering URLs via search, use the search tool. For reading URL content, use this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return raw HTML instead of markdown (default: false) | |
| url | Yes | The URL to fetch | |
| body | No | Request body (POST only). Content-Type defaults to application/json when the body is valid JSON. | |
| method | No | HTTP method (default: GET). Use POST for search/listing APIs that only answer to POST (Getro, Algolia, GraphQL). POST requests skip site-specific handling and the response cache. | |
| headers | No | Extra request headers, e.g. {"Accept": "application/json"}. Connection and body-framing headers cannot be set. | |
| timeout | No | Request timeout in seconds (default: 10) | |
| maxTokens | No | Maximum tokens to return (default: 25000) |