like-gold
like-gold2d ago

Tool Section Bricked - can't access it through UI or API

I'm looking for some help. I broke the tools section and I get can't get back in through the UI or through the API. This is the error that I'm getting: Error: SyntaxError Message: Invalid regular expression: /{{call.phoneCallProviderDetails.sip.headers['X-Twilio-CallSid']}}/g: Range out of order in character class Timestamp: 2025-11-04T19:41:55.935Z I know how to fix it. I just can't get into the tool settings. Does anyone know of a workaround?
2 Replies
Vapi Support Bot
Try fixing the tool using the Vapi CLI to bypass the UI/API issue:
# Update the problematic tool directly
vapi tool update <tool-id>
# Update the problematic tool directly
vapi tool update <tool-id>
Replace <tool-id> with your actual tool's ID and follow the prompts to correct the regex or configuration.
This method lets you edit or delete the tool even if the dashboard and API are inaccessible.
For more details, see the Vapi CLI documentation or run vapi tool list to find your tool ID. Sources: - Vapi CLI documentation - Custom Tools Guide
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
like-gold
like-goldOP2d ago
ok, I'll give that a try thanks

Did you find this page helpful?