analyze-media
Analyze images, PDFs, and media files using Gemini's multimodal capabilities. Extract text, describe components, or summarize documents with specific prompts.
Instructions
Analyze images, PDFs, or other media files using Gemini multimodal capabilities. Supports screenshots, diagrams, documents, and more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Gemini model to use. DEFAULT: 'gemini-3-pro-preview' (best multimodal). Use 'gemini-3-flash-preview' for faster but less detailed analysis. | |
| prompt | Yes | What to analyze or extract from the media. REQUIRED. Be specific (e.g., "extract all text", "describe UI components", "summarize document"). | |
| detailed | No | Enable comprehensive analysis mode. DEFAULT: false. Set to true for structured output with overview, key elements, and recommendations. | |
| filePath | Yes | Path to the media file to analyze. REQUIRED. Use @ prefix (e.g., @screenshot.png, @diagram.pdf). Supports: PNG, JPG, JPEG, GIF, WebP, PDF. |