talonic_to_markdown
Get OCR-converted markdown for a document. Accepts document_id (cheapest — no re-upload), file_data + filename, file_path, or file_url.
| Parameter | Type | Description |
|---|---|---|
| document_id | string | ID of an already-ingested document (cheapest path). |
| file_data | string | Base64-encoded file bytes. Pair with `filename`. |
| filename | string | Original filename with extension. |
| file_path | string | Local file path. |
| file_url | string | Remote URL the API fetches server-side. |
Example
Tool input
{
"document_id": "doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c"
}Tool response
# Invoice INV-2026-001
**Meridian Energy AG**
Musterstraße 42, 10115 Berlin
| Item | Amount |
|-----------------------|------------|
| Consulting — April | €1,200.00 |
| Travel expenses | €300.00 |
| **Total** | **€1,500.00** |
Due date: 15 June 2026
Payment terms: Net 30