VAPI Agent Setup – Tool Name Error in Logs
# support
a
Good morning, everyone. I'm building an agent on VAPI using the VAPI dashboard interface to handle customer service for a gym. I’ve also set up an MCP server on N8N to schedule classes on Google Calendar, register users in Supabase, and send SMS messages through Twilio. I have three agents working together as a squad. I followed the documentation and ChatGPT’s instructions, but I’m still running into some errors. One of the errors showing up in the logs is: Model request failed (attempt #1, reason: (Invalid 'tools[3].function.name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'.)) I’ve already checked the name of the tool in the MCP node on N8N, and it meets the requirements. The only tool I'm using is named "mcp-audhy". Is there anyone who could help me figure this out?
v
Thanks for sharing the details of your setup and the error message you're seeing. Based on the information available, I don't have specific documentation or guidance that explains the cause of the "Invalid 'tools[3].function.name'" error or how to resolve it. If you have any additional details or error logs, feel free to share them, and I'll do my best to help with the information provided.
Thanks for sharing the details of your setup and the error message you're seeing. Based on the information available, I don't have specific documentation or guidance that explains the cause of the "Invalid 'tools[3].function.name'" error or how to resolve it. If you have any additional details or error logs, feel free to share them, and I'll do my best to help with the information provided.
u
Hi @Anderson Domingos
a
hi
can you help me?
k
Check all tool names, especially the fourth one (tools[3]) ensure they only use letters, numbers, underscores, or hyphens, as any invalid character or extra tool may be causing the pattern mismatch error.
4 Views