fetch_txt
Fetch any website and retrieve its content as plain text, with HTML tags, scripts, and styles removed. Supports custom headers, length limits, and start index for controlled extraction.
Instructions
Fetch a website and return the content as plain text (no 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 text content of the webpage with HTML tags, scripts, and styles removed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| headers | No | ||
| max_length | No | ||
| start_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |