fetch_html
Retrieve a website's raw HTML content by providing a URL, with options to set custom headers, limit response length, or skip to a specific character offset.
Instructions
Fetch a website and return its unmodified contents as HTML.
Args: url: URL of the website to fetch headers: Optional headers to include in the request max_length: Maximum number of characters to return (default: 50000) start_index: Start content from this character index (default: 0)
Returns: The raw HTML content of the webpage
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| headers | No | ||
| max_length | No | ||
| start_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |