Analyze a PDF/scanned invoice
analyze_pdf_invoiceExtract structured invoice JSON from scanned or digital PDF, PNG, JPEG, or TIFF files to automate invoice data capture; optionally include individual line items.
Instructions
Extract structured invoice JSON from a scanned or digital PDF/PNG/JPEG/TIFF invoice using the high-accuracy analyzer.
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": {
"pdfBase64": "<pdfBase64>"
},
"name": "analyze_pdf_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdfBase64 | Yes | Base64-encoded PDF, PNG, JPEG, or TIFF invoice | |
| withLineItems | No | Also extract individual line items |