Extract facts
extract_factsFetch a public web page and return compact structured facts, metadata, headings, and focus-matched sentences without the full text—useful for quick lookups, citations, and term scanning.
Instructions
Fetch one public http(s) page and extract compact, structured facts without returning the whole page. Returns JSON with metadata (title, description, canonical URL, author, published date, site name, language) gathered from meta tags, Open Graph and JSON-LD; the first 20 h1-h3 headings; all JSON-LD @type values in jsonLdTypes; and, when focus terms are supplied, up to maxFacts matching sentences in the facts array, each with its text and nearest preceding heading. Use this for quick factual lookups, citation details, or scanning a page for specific terms; prefer fetch_page when you need the full readable text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "extract_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http or https URL to analyse. | |
| focus | No | Optional terms to look for. Sentences containing any term are returned with their nearest preceding heading. | |
| maxFacts | No | Maximum number of focus-matching sentences to return (default 10, maximum 25). |