ocr_image
Extract text from local image files (PNG, JPEG, WEBP, GIF, HEIC) using Gemini. Solves the problem of reading text from screenshots, diagrams, and photos without manual copying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | Path to a local image file to extract text from (absolute, or relative to the directory OpenCode was started in). Supports PNG, JPEG, WEBP, GIF, HEIC/HEIF. |