extract
extractExtract structured data from messy text into clean JSON. Input: text, schema (JSON object describing desired fields). Costs $0.02 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 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": {
"text": "<text>",
"schema": "<schema>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Messy text to turn into JSON (up to 40,000 characters) | |
| schema | Yes | Field name -> type or description |