extract_text_from_screenshot
Extract text from screenshots using OCR, ideal for code, terminal output, documentation, and general text.
Instructions
Extract and recognize text from screenshots using advanced OCR capabilities.
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 text extraction. Specify what type of text to extract and any formatting requirements. | |
| 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. |