gemini_upload_file
Upload files to Gemini Files API for analysis. Supports up to 2GB per file with 48-hour retention.
Instructions
Upload a file to Gemini Files API for use with analysis tools. Files are retained for 48 hours. Max 2GB per file, 20GB total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file to upload | |
| mimeType | No | MIME type override (auto-detected from extension if omitted) | |
| displayName | No | Display name for the uploaded file |