configure_api_key
Sets the Google Gemini API key for AI image generation, storing it locally for persistent use across sessions.
Instructions
Set or update the Gemini API key for image generation. The key is stored locally and persists across sessions.
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": {
"apiKey": "<apiKey>"
},
"name": "configure_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | Your Google Gemini API key (get one at https://aistudio.google.com/apikey) |