extract.webpage
Fetch a public http(s) URL and return structured page facts as JSON (SSRF/robots fail-closed). Call when the agent has a page URL to understand — not when text/HTML is already in hand (use extract.structured_data) and not for a visual capture (use capture.screenshot). Inputs: required url; optional instruction, schema, require_llm. Outputs structured JSON about the page. Paid (~5 credits / $0.05) via prepaid key or x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL to fetch and structure. Example: https://example.com/about | |
| schema | No | Optional JSON Schema the page extract should satisfy | |
| instruction | No | Optional focus hint for extraction. Example: 'Extract company name and contact emails' | |
| require_llm | No | If true and enrichment LLM unavailable → processing failure. Example: false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||