Invoice processor
invoice_processorStart an invoice-extraction job. Returns a job handle immediately; fetch vendor, totals, and line items later with get_job. Pass invoiceText, OR filePath + bucket + mimeType from create_invoice_upload_url. To upload a local PDF or image: (1) call create_invoice_upload_url, (2) HTTP PUT the raw bytes to signedUploadUrl with the declared Content-Type before the URL expires, (3) call this tool with the returned path, bucket, and mimeType.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "invoice_processor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | No | Storage bucket returned by create_invoice_upload_url. Required together with filePath. | |
| filePath | No | Storage path returned by create_invoice_upload_url after you HTTP PUT the raw document bytes. | |
| mimeType | No | MIME type of the uploaded invoice (the same value declared when minting the upload URL). | |
| invoiceText | No | Pasted invoice text to extract. Pass this OR a file reference (filePath + bucket + mimeType). | |
| outputFormat | No | Result format. Defaults to json when omitted. |