ai_url_extract
AI web page field extractor — Fetch any web page and pull the fields you name into a JSON object via Workers AI (price, author, date, address, plan names...). Null for fields the page does not state; inPage lists values found word-for-word in the page text so you know which to trust. Pass url and fields (comma list, up to 25). Not charged if the page cannot be fetched. Price: $0.012 USDC (Base, via x402).
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>",
"fields": "<fields>"
},
"name": "ai_url_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https://example.com | |
| fields | Yes | title,purpose |