gemini_upload_file
Upload files like images, PDFs, documents, or videos to Gemini and ask questions about their content. Get AI-powered answers directly from the uploaded file.
Instructions
Upload a file (image, PDF, document, video) to Gemini and ask a question about it.
Args: file_path: Absolute path to the file to upload. prompt: Question or instruction about the file (e.g. 'What is shown in this image?'). model: Model name. Defaults to gemini-3.0-flash.
Returns: Gemini's text response about the uploaded file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| prompt | No | Describe this file. | |
| model | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |