set_model
Switch between flash/pro models at runtime
How to use it
set_model is exposed by the Nanobanana MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the set_model tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Nanobanana MCP
$
npx @ycse/nanobanana-mcp --install-commands claude-codeOther tools in Nanobanana MCP (8)
clear_conversation
Reset session context
flash
gemini-3.1-flash-image-preview
gemini_chat
Multi-turn conversation with images
gemini_edit_image
Edit images with natural language
gemini_generate_image
Generate images from text prompts
get_image_history
View session image history
pro
gemini-3-pro-image-preview
set_aspect_ratio
Required. Set aspect ratio before image generation