alefba_read_document_upload
Upload a local file and extract text using OCR. Returns structured results for Persian, Arabic, and English text.
Instructions
Upload a local file and read (OCR) it. بارگذاری فایل محلی و استخراج متن آن. Sends the file as multipart form data (field 'document') to Alefba with the same options as alefba_read_document. Returns the structured OCR result, or {state, task_ids} when wait=false. Optional name of the configured Alefba instance to target. Omit to use the default instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| type | No | general | |
| fix_orientation | No | ||
| word_positions | No | ||
| wait | No | ||
| priority | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||