set_model
Select the Gemini model for image generation: 'flash' for fast output or 'pro' for better quality. Apply it to any session.
Instructions
Set the Gemini model for this session. 'flash' for faster generation (default), 'pro' for higher quality.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "set_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model to use: 'flash' (gemini-3.1-flash-image-preview) or 'pro' (gemini-3-pro-image-preview) | |
| conversation_id | No | Session ID to apply this setting to (default: 'default') |