extract_from_images
Extract structured JSON data from images such as forms, receipts, IDs, tables, invoices, and labels. Optionally provide a JSON schema to define output field names.
Instructions
Extract structured data (JSON) from one or more images: forms, receipts, IDs, tables, invoices, labels. Optional schema steers field names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | Local file path, file:// URI, http(s) URL, data URL, or base64 image data | |
| images | No | One or more images. Prefer this for multi-image chats: ["path/a.png", "path/b.png"] or [{source, label: "1"}, {source, label: "2"}]. Labels default to "1", "2", ... | |
| prompt | No | Extra extraction instructions (locale, currency, etc.) | |
| schema | No | Optional JSON schema or field list for structured extraction, e.g. {"title":string,"total":number} | |
| mimeType | No | Optional MIME type hint for a single bare-base64 `image` input, e.g. image/png |