extract_from_url
Extract structured data from web content using a URL. Downloads text and applies Large Language Models to retrieve specific entities based on provided instructions and examples.
Instructions
Extract structured information from text content at a URL.
Downloads text from the specified URL and extracts structured information using Large Language Models. Ideal for processing web articles, documents, or any text content accessible via HTTP/HTTPS.
Args: url: URL to download text from (must start with http:// or https://) prompt_description: Clear instructions for what to extract examples: List of example extractions to guide the model config: Configuration parameters for the extraction
Returns: Dictionary containing extracted entities with source locations and metadata
Raises: ToolError: If URL is invalid, download fails, or extraction fails
Input Schema
Name | Required | Description | Default |
---|---|---|---|
config | No | ||
examples | Yes | ||
prompt_description | Yes | ||
url | Yes |