Skip to main content
Glama

update_openai_token

Update the OpenAI API key for VoiceAI-MCP-VAVicky to ensure seamless integration and functionality for custom VoiceAI and AI chat applications.

Instructions

Update OpenAI API Key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
openai_tokenYesOpenAI API Key

Implementation Reference

  • Handler implementation in the executeTool switch statement. Sets up a POST request to the backend API `/openai/oauth` endpoint with the `openai_token` from arguments in the request body.
    case 'update_openai_token': url = `${this.baseUrl}/openai/oauth`; method = 'POST'; body = { openai_token: args.openai_token }; break;
  • Input schema definition for the tool, specifying that `openai_token` is a required string.
    inputSchema: { type: 'object', properties: { openai_token: { type: 'string', description: 'OpenAI API Key' } }, required: ['openai_token'] }
  • index.js:79-89 (registration)
    Tool registration in the ListToolsRequestSchema handler's tools array, including name, description, and input schema.
    { name: 'update_openai_token', description: 'Update OpenAI API Key', inputSchema: { type: 'object', properties: { openai_token: { type: 'string', description: 'OpenAI API Key' } }, required: ['openai_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