Extract structured data
extract_dataTurn messy text or a web page into structured JSON by naming the fields you need; missing values return as null for scraping, leads, invoices, and forms.
Instructions
Turn messy text or a web page (first 12,000 characters) into clean JSON: name the fields you want ("company", "price: in USD", "emails") and get them back as a JSON object, with null for anything not found. Great for scraping, lead capture, invoices, job posts and forms. Costs $0.004 per call.
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": {
"fields": "<fields>"
},
"name": "extract_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public web page to read instead of text, e.g. a news article or blog post. | |
| text | No | Text to process (first 12,000 characters are used). Use this or url. | |
| fields | Yes | Fields to extract, optionally with a hint after a colon: ["company", "price: monthly price in USD", "emails: all email addresses"]. |