ai_extract_batch
Batch field extraction to table — Pull the same fields out of up to 20 texts in one call and get a table back (rows + CSV). texts = items separated by | or newlines, or a JSON array (each up to 2,000 chars). fields = comma-separated names, each optionally with a hint after a colon (e.g. amount:total in USD). The model copies values as written and returns null when a value is not stated; every value is then checked OFFLINE against its own source text, and values not found there are listed as ungrounded (possible hallucination). Also returns fill rate per field and a GROUNDED / REVIEW_FEW / REVIEW verdict. Workers AI llama-3.3-70b. Price: $0.015 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": {
"texts": "<texts>",
"fields": "<fields>"
},
"name": "ai_extract_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | e.g. Invoice from Acme Corp for $1,250.00 due Dec 5, contact jane@acme.com|Globex billed us 980 USD, email bob@globex.io | |
| fields | Yes | e.g. company,amount,email,due_date |