web_fetch_structured
Extract specific numbers and structured data from long documents like press releases or annual reports by providing a URL and a focus. LLM-mediated extraction ensures context-aware results without hallucinations.
Instructions
Fetch a URL and extract STRUCTURED data via a focused LLM pass.
Better than plain fetch when you need SPECIFIC numbers from a long
press release / annual report / regulatory document. The extraction is
LLM-mediated so it understands context and won't hallucinate values
not on the page.
Args:
url: The page URL.
focus: What to extract, e.g. "CPI YoY April 2025, food inflation,
core CPI". The LLM uses this to bias its extraction.
Returns:
{title, dateline, summary, key_facts[], numeric_values[],
dates[], tables_summary[]}
Requires ANTHROPIC_API_KEY env var. Without it, returns raw text only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| focus | No |