Gemini image understanding
imageAnalyze an image from a direct URL or local path. Provide a prompt for Gemini to determine, describe, extract, or summarize the visual content.
Instructions
Understand one image source from a direct remote URL or local path. The caller chooses this modality; the server does not reclassify the source.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"prompt": "<prompt>"
},
"name": "image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What Gemini should determine, describe, extract, or summarize. | |
| source | Yes | A local filesystem path or public HTTP(S) URL. The local path is resolved on the MCP server. | |
| mimeType | No | Optional MIME type hint. Usually omit for YouTube and local files; provide it for direct remote files. |