extract_from_url
Fetch a public static webpage URL, strip HTML/navigation boilerplate, and return strict typed JSON matching target_schema in one atomic step ($0.01/call). Best for static HTML pages, docs, and articles. For React/Next.js/Vue SPAs, use extract_dynamic_url.
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>",
"target_schema": "<target_schema>"
},
"name": "extract_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP or HTTPS webpage URL to fetch and parse. | |
| preview_token | No | Optional 300s preview token returned by preview_extract to immediately return the unmasked snapshot without re-fetching. | |
| target_schema | Yes | JSON object defining desired output keys and expected types. | |
| include_metadata | No | When true, wraps output in { data, meta: { resolved_url, status, block_reason, cached } }. |