vision_from_file
Describe or extract information from a local image, audio, video, or text file using Gemini and custom instructions.
Instructions
Describe a single file (image, audio, video, or text) using Gemini.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Local file path to read. | |
| type | Yes | Media category — text, image, audio, or video. | |
| 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 |