Extract document fields (batch)
doc_extract_batchExtract structured fields from 1 to 5 Arabic documents in one paid call: $0.10 for the batch, i.e. $0.02 per document instead of $0.03. Documents are processed independently and in parallel, results come back in request order with an echoed id, and one unreadable image does not fail the rest (it appears with ok=false and an error). Use this for a stack of receipts, invoices or bank slips.
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": {
"documents": "<documents>"
},
"name": "doc_extract_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documents | Yes | 1 to 5 documents, extracted independently and in parallel. | |
| mime_type | No | Default MIME type for documents that omit their own. |