Skip to main content
Glama

chat_with_assistant

Engage in real-time conversations with a specific AI assistant by sending messages through the VoiceAI-MCP-VAVicky server. Supports text or audio responses for interactive communication.

Instructions

Chat with a specific assistant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assistant_idYesAssistant ID
audioNoEnable audio response
messageYesMessage to send
thread_idYesChat/Thread ID

Implementation Reference

  • The handler logic for the 'chat_with_assistant' tool within the executeTool method's switch statement. It constructs a POST request to the backend API with the assistant ID, message, thread ID, and optional audio flag.
    case 'chat_with_assistant': url = `${this.baseUrl}/assistants/${args.assistant_id}/chat?audio=${args.audio || false}`; method = 'POST'; body = { message: args.message, thread_id: args.thread_id }; break;
  • The input schema defining parameters for the 'chat_with_assistant' tool: assistant_id, message, thread_id (required), and optional audio.
    type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' }, message: { type: 'string', description: 'Message to send' }, thread_id: { type: 'string', description: 'Chat/Thread ID' }, audio: { type: 'boolean', description: 'Enable audio response', default: false } }, required: ['assistant_id', 'message', 'thread_id'] }
  • index.js:299-311 (registration)
    The tool definition object in the listTools response that registers 'chat_with_assistant' with MCP, including name, description, and schema.
    name: 'chat_with_assistant', description: 'Chat with a specific assistant', inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' }, message: { type: 'string', description: 'Message to send' }, thread_id: { type: 'string', description: 'Chat/Thread ID' }, audio: { type: 'boolean', description: 'Enable audio response', default: false } }, required: ['assistant_id', 'message', 'thread_id'] } },

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