extract_text
Runs OCR on images or PDF files, returning recognized text and optionally saving it as a .txt asset in a chosen folder.
Instructions
Runs OCR on an image or PDF and returns the extracted text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path of a local file to send. Give this or content_base64, not both. | |
| folder | No | Also store the text as a .txt asset in this folder. | |
| filename | No | Filename to store, e.g. 'hero.jpg'. Defaults to the path's name. | |
| folder_id | No | UUID of an existing destination folder. | |
| content_base64 | No | File content, base64-encoded (20 MB max). Requires filename. | |
| include_blocks | No | Also return line blocks with bounding boxes. | |
| auto_create_folders | No | False to require the folder path to exist already. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||