extract_invoice
Extract structured data from an invoice or receipt file. Accepts PDF, PNG, JPEG, WEBP, or plain text as base64.
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": {
"file_base64": "<file_base64>",
"mime": "<mime>"
},
"name": "extract_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime | Yes | MIME type of the provided file. | |
| file_base64 | Yes | Base64-encoded file content, max 8 MB before base64 encoding. |