fetch_html
Retrieve website content in HTML format directly by specifying a URL, optional headers, and character limits.
Instructions
Fetch a website and return the content as HTML
Input Schema
Name | Required | Description | Default |
---|---|---|---|
headers | No | Optional headers to include in the request | |
max_length | No | Maximum number of characters to return (default: 5000) | |
start_index | No | Start content from this character index (default: 0) | |
url | Yes | URL of the website to fetch |
Input Schema (JSON Schema)
{
"properties": {
"headers": {
"description": "Optional headers to include in the request",
"type": "object"
},
"max_length": {
"description": "Maximum number of characters to return (default: 5000)",
"type": "number"
},
"start_index": {
"description": "Start content from this character index (default: 0)",
"type": "number"
},
"url": {
"description": "URL of the website to fetch",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}