query
Send a prompt to Gemini AI models for intelligent answers. Supports multi-turn conversations and multimodal inputs like images, audio, video, and documents.
Instructions
Query Google AI (Gemini models) with a prompt. This tool operates as an intelligent agent with multi-turn execution capabilities. The agent can automatically use available tools (web fetching, external MCP servers) to gather information and provide comprehensive answers. Supports multi-turn conversations when sessionId is provided. Supports multimodal inputs (images, audio, video, documents) via the optional 'parts' parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model override (e.g., gemini-3.6-flash, gemini-3.5-flash-lite, gemini-3.1-pro-preview, gemini-3.1-pro-preview-customtools) | |
| parts | No | Optional multimodal content parts (images, audio, video, documents) | |
| prompt | Yes | The prompt to send to Gemini | |
| sessionId | No | Optional conversation session ID for multi-turn conversations | |
| thinkingLevel | No | Optional Gemini 3 thinking level override | |
| mediaResolution | No | Optional global media resolution for multimodal inputs |