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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_text_from_image"
}
}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 |