describe_image
Analyze an image and return text interpretations using Gemini vision. Supply a local path, URL, or data URL, plus a custom prompt for descriptions, OCR, object lists, or structured JSON.
Instructions
Look at an image and return a text interpretation from the Gemini vision model. The calling agent supplies the prompt, so it controls exactly what the model should return (a description, OCR of visible text, a list of objects, structured JSON, etc.). Pass image as a local file path, an http(s) URL, or a data: URL (or an array of these for multiple images). This is how a text-only model can 'see' an image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image(s) to analyze: local file path, http(s) URL, or data: URL. May also be an array of these. | |
| model | No | Gemini model id to use (overrides GEMINI_MODEL). | |
| prompt | No | What the vision model should return about the image(s). Defaults to a detailed description. | |
| max_tokens | No | Maximum number of tokens in the response. |