extract_text_from_image
Extract OCR text from screenshots, documents, tables, terminal output, or code images. Convert visual content into machine-readable text for analysis.
Instructions
Extract OCR text from screenshots, documents, tables, terminal output, or code images.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | No | file_id returned by PUT /upload. Preferred over image_base64 to avoid corruption of large base64 in the tool-call path. Persistent across restarts, content-deduplicated. | |
| mime_type | No | MIME type. Required with image_base64; ignored (uses stored value) with file_id. | image/png |
| image_base64 | No | Raw base64-encoded image bytes, without a data: URL prefix. Prefer file_id for large images. | |
| language_hint | No | ||
| output_format | No | json | |
| preserve_layout | No |