vision_from_files
Describe multiple local image, video, audio, or text files in one Gemini session using custom prompts and file paths.
Instructions
Describe multiple files in one Gemini session.
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": {
"type": "<type>",
"prompt": "<prompt>",
"paths": "<paths>"
},
"name": "vision_from_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Media category — text, image, audio, or video. | |
| paths | Yes | List of local file paths. | |
| prompt | Yes | Instructions to the model (what to describe/extract). | |
| compact | No | If true, compact history and reconnect after this request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |