Upload Files and Ask Gemini
gemini_upload_and_askUpload local files to Gemini and ask questions about them, enabling image, document, and code analysis through an authenticated browser session.
Instructions
Upload one or more local files (images, documents, code) to Gemini and ask a question about them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Target model. | |
| prompt | Yes | Prompt or instructions regarding the uploaded file(s). | |
| new_chat | No | Whether to reset to a clean chat window before sending. | |
| file_paths | Yes | Absolute paths to the local files to upload. | |
| thinking_level | No | Thinking depth level. | |
| timeout_seconds | No | Max seconds to wait for generation to finish. |