query_gemini
Query Google's Gemini AI models for text generation, reasoning, and analysis tasks within Claude Code, supporting multi-turn conversations and streaming responses.
Instructions
Query Google's Gemini AI models for text generation, reasoning, and analysis tasks.
Use this tool when you need to:
Get a second opinion or alternative perspective on a problem
Leverage Gemini's specific capabilities for certain reasoning tasks
Generate content using a different AI model
Compare responses between AI models
The tool supports conversation history for multi-turn interactions. Streaming is enabled by default for better responsiveness.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The prompt to send to Gemini. Be specific and clear. | |
| history | No | Previous conversation turns for multi-turn conversations | |
| stream | No | Stream response progressively. Enabled by default. Set to false only if you need the complete response at once. |