extract_text_from_screenshot
Extract visible text from screenshots with OCR. Transcribe code, terminal output, and documentation verbatim without repairing or altering the source content.
Instructions
Transcribe visible text from screenshots without repairing or beautifying the source.
Use this tool ONLY when the user has a screenshot containing text and wants to extract it. This tool specializes in OCR for code, terminal output, documentation, and general text extraction.
Do NOT use for: UI design conversion, error diagnosis, or diagram understanding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Instructions for verbatim transcription. Specify the text to extract, output format, and any explicitly requested character normalization. | |
| image_source | Yes | Local file path or remote URL to the image | |
| programming_language | No | Optional: specify the programming language if the screenshot contains code (e.g., 'python', 'javascript', 'java'). Leave empty for auto-detection or non-code text. |