Skip to main content
Glama

update_gemini_token

Update the Google Gemini API key in the VoiceAI-MCP-VAVicky server to ensure seamless integration and functionality for AI-driven voice and chat services.

Instructions

Update Google Gemini API Key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gemini_tokenYesGoogle Gemini API Key

Implementation Reference

  • Switch case handling the execution of 'update_gemini_token' tool by configuring 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 (registration)
    Registration of the 'update_gemini_token' tool in the ListTools response, defining its name, description, and input schema.
    { 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'] } },
  • Input schema definition for the 'update_gemini_token' tool, specifying the required 'gemini_token' string parameter.
    inputSchema: { type: 'object', properties: { gemini_token: { type: 'string', description: 'Google Gemini API Key' } }, required: ['gemini_token'] }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Business-On-Steroids/MCP-VoiceAI-WhiteLabel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server