update_gemini_token
Update the Google Gemini API key to maintain access to AI features in the VoiceAI-MCP-VAVicky server.
Instructions
Update Google Gemini API Key
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gemini_token | Yes | Google Gemini API Key |
Implementation Reference
- index.js:533-537 (handler)Executes the update_gemini_token tool by making a POST request to the backend API endpoint /gemini/oauth with the provided gemini_token in the request body.case 'update_gemini_token': url = `${this.baseUrl}/gemini/oauth`; method = 'POST'; body = { gemini_token: args.gemini_token }; break;
- index.js:112-122 (schema)Defines the input schema for the update_gemini_token tool, requiring a 'gemini_token' string.{ name: 'update_gemini_token', description: 'Update Google Gemini API Key', inputSchema: { type: 'object', properties: { gemini_token: { type: 'string', description: 'Google Gemini API Key' } }, required: ['gemini_token'] } },
- index.js:112-122 (registration)Registers the update_gemini_token tool in the list of available tools returned by ListToolsRequestSchema.{ name: 'update_gemini_token', description: 'Update Google Gemini API Key', inputSchema: { type: 'object', properties: { gemini_token: { type: 'string', description: 'Google Gemini API Key' } }, required: ['gemini_token'] } },