Fetch Webpage
fetch_webpageRetrieve and extract clean text from web pages and PDFs, including JavaScript-rendered content, with automatic fallback to alternative extraction methods.
Instructions
Fetch and extract content from a webpage or PDF.
Uses Jina Reader to fetch and convert web pages and PDFs to clean text. Handles JavaScript-rendered pages and extracts content from PDFs. Falls back to Trafilatura extraction if Jina fails.
Args: url: The URL to fetch (web page or PDF)
Returns: Extracted content in markdown format
Examples: - Fetch a webpage: fetch_webpage("https://example.com/article") - Fetch a PDF: fetch_webpage("https://example.com/document.pdf")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to fetch content from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |