extract-url
extract_urlFetch any public URL (HTML article, PDF, JSON) and return clean JSON matching YOUR schema in one call. No scraping code, no parsing: give a url and the fields you want. Input: url, schema (field -> type/description). Output: data + page title + source. Costs $0.03 USDC per call (x402 v2, Base or Solana). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/extract-url with an x402 client.
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>",
"schema": "<schema>"
},
"name": "extract_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of an article, PDF or JSON document | |
| schema | Yes | Field name -> type or description | |
| max_chars | No | Max characters read from the document (1,000 to 60,000) |