import_receipt_from_url
Import a receipt directly from an https:// URL (S3, Drive shared link, public file host, etc.). The server fetches the file behind an SSRF guard (rejects private IPs, Moneda infra, and non-https), validates it, then runs OCR + matching. Single tool call, no sandbox needed. Use this when the receipt is already accessible at a URL.
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": {
"url": "<url>"
},
"name": "import_receipt_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https:// URL the receipt file can be fetched from. Public hosts only (S3, Drive shared, etc.). | |
| fileName | No | Override the auto-derived filename. Defaults to the last path segment of the URL. | |
| mimeType | No | Override the Content-Type the source server returns. Useful when the source serves application/octet-stream. | |
| captureSource | No | Provenance label for the audit trail. Defaults to MANUAL_UPLOAD. |