chat
Send messages to Google's Gemini AI for text analysis and multimodal tasks. Include uploaded files for code review, document analysis, or image processing while maintaining conversation continuity.
Instructions
SEND MESSAGE TO GEMINI (with optional files) - Chat with Gemini, optionally including uploaded files for multimodal analysis. TYPICAL USE: 0-2 files for most tasks (code review, document analysis, image description). SCALES TO: 40+ files when needed for comprehensive analysis. WORKFLOW: 1) Upload files first using upload_file (single) or upload_multiple_files (multiple), 2) Pass returned URIs in fileUris array, 3) Include your text prompt in message. The server handles file object caching and proper API formatting. Supports conversation continuity via conversationId. RETURNS: response text, token usage, conversation ID. Files are passed as direct objects to Gemini (not fileData structures). Auto-retrieves missing files from API if not cached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The message to send to Gemini | |
| model | No | The Gemini model to use | gemini-2.5-pro |
| fileUris | No | Array of file URIs from previously uploaded files | |
| temperature | No | Controls randomness in responses (0.0 to 2.0) | |
| maxTokens | No | Maximum tokens in response | |
| conversationId | No | Optional conversation ID to continue a previous chat |