Extract Structured Tables from Image or Scan (Image to Excel)
image_to_excelExtract tables from photos, screenshots, scanned sheets, or PDFs into structured headers and rows ready for Excel or CSV.
Instructions
Zero-retention table extraction optimized for photos, screenshots, and scanned sheets (POST /v1/image-to-excel, 2 credits per succeeded image/page, failed pages automatically refunded). Returns deterministic headers[] and rows[][] arrays ready for Excel or CSV.
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": "<file>"
},
"name": "image_to_excel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Local file path, base64 string, or data URL of the table image or PDF (JPG/PNG/WebP/PDF, max 10 MB). | |
| mode | No | Extraction mode: "tables" (default), "auto", or "json". | |
| pages | No | Optional 1-based page range when submitting a multi-page PDF. | |
| schema | No | Optional custom JSON schema object. | |
| stitch_tables | No | Whether to stitch multi-page tables. |