gemini_analyze_image
Analyze images using Google Gemini's multimodal AI to generate descriptions, extract information, or answer questions about visual content from local files, URLs, or base64 data.
Instructions
Use Google Gemini CLI to describe or analyze an image using multimodal capabilities.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| image | Yes | Local file path, http(s) URL, or base64-encoded image to analyze. | |
| prompt | No | Instruction for Gemini. Defaults to config value. | |
| model | No | Gemini model identifier (e.g., gemini-2.0-flash). | |
| cliPath | No | Override the Gemini CLI executable path. | |
| sandbox | No | Whether to run the CLI with the sandbox flag (-s). | |
| outputFormat | No | Request Gemini CLI to return the specified output format. | |
| extraFlags | No | Additional CLI flags to append as-is. | |
| timeoutMs | No | Maximum time (in milliseconds) to wait for CLI execution. | 
Input Schema (JSON Schema)
{
  "properties": {
    "cliPath": {
      "description": "Override the Gemini CLI executable path.",
      "minLength": 1,
      "type": "string"
    },
    "extraFlags": {
      "description": "Additional CLI flags to append as-is.",
      "items": {
        "minLength": 1,
        "type": "string"
      },
      "type": "array"
    },
    "image": {
      "description": "Local file path, http(s) URL, or base64-encoded image to analyze.",
      "minLength": 1,
      "type": "string"
    },
    "model": {
      "description": "Gemini model identifier (e.g., gemini-2.0-flash).",
      "minLength": 1,
      "type": "string"
    },
    "outputFormat": {
      "description": "Request Gemini CLI to return the specified output format.",
      "enum": [
        "text",
        "json"
      ],
      "type": "string"
    },
    "prompt": {
      "description": "Instruction for Gemini. Defaults to config value.",
      "minLength": 1,
      "type": "string"
    },
    "sandbox": {
      "description": "Whether to run the CLI with the sandbox flag (-s).",
      "type": "boolean"
    },
    "timeoutMs": {
      "description": "Maximum time (in milliseconds) to wait for CLI execution.",
      "exclusiveMinimum": 0,
      "maximum": 600000,
      "type": "integer"
    }
  },
  "required": [
    "image"
  ],
  "type": "object"
}