[MVA] Max
05/23/2025, 9:59 AM[MVA] Max
05/23/2025, 10:01 AMVapi Support Bot
05/23/2025, 10:01 AMtools
array and the serverUrl
(webhook) settings? This will help me check if the tools are properly set up for function calling and webhook triggering.
Sources:
- [Vapi Tools documentation](https://docs.vapi.ai/tools)
- [Default Tools documentation](https://docs.vapi.ai/tools/default-tools)
- [Prompting Guide](https://docs.vapi.ai/prompting-guide)
- [Outbound Sales Example](https://docs.vapi.ai/examples/outbound-sales)[MVA] Max
05/23/2025, 10:02 AMVapi Support Bot
05/23/2025, 10:02 AMtools
array with its function name, parameters, and webhook URL, like this:
json
{
"type": "function",
"function": {
"name": "Reservation",
"parameters": {
"type": "object",
"properties": {
"date": { "type": "string" },
"service": { "type": "string" }
}
}
},
"server": { "url": "https://your-server.com/reservation" }
}
Update your assistant config, then test again—this should trigger your webhook when the tool is called.
Just updating the prompt is not enough; the tool must be registered in the assistant's model.
Sources:
- [Custom Tools – Vapi Documentation](https://docs.vapi.ai/tools/custom-tools)
- [Custom LLM Tool Calling Integration](https://docs.vapi.ai/customization/tool-calling-integration)[MVA] Max
05/23/2025, 10:03 AM[MVA] Max
05/23/2025, 10:05 AM[MVA] Max
05/23/2025, 10:06 AMVapi Support Bot
05/23/2025, 10:07 AMVapi Support Bot
05/23/2025, 10:07 AMbash
curl https://api.vapi.ai/assistant/{your-assistant-id} \
-H "Authorization: Bearer <your-token>"
This will return your assistant's full configuration, including tools and prompts, as code.
Note: Replace {your-assistant-id}
and <your-token>
with your actual values.
[See API reference](https://docs.vapi.ai/api-reference/assistants/get)
Source:
- [Get Assistant – Vapi API Reference](https://docs.vapi.ai/api-reference/assistants/get)Vapi Support Bot
05/23/2025, 10:07 AMtools
array (including the Reservation tool definition)? This will help me check for any parameter or structure mismatches that might prevent the tool from being called.
Sources:
- [Custom Tools – Vapi Documentation](https://docs.vapi.ai/tools/custom-tools)
- [Custom LLM Tool Calling Integration](https://docs.vapi.ai/customization/tool-calling-integration)[MVA] Max
05/23/2025, 10:09 AM{
"id": "c10dc9f9-bd78-4abc-9be6-68fdf77dd530",
"createdAt": "2025-05-15T17:49:37.013Z",
"updatedAt": "2025-05-23T08:42:26.031Z",
"type": "function",
"function": {
"name": "Reservation",
"strict": false,
"description": "Cette information est utilisée pour prendre des rendez-vous pour nos services",
"parameters": {
"type": "object",
"properties": {
"Email": {
"description": "",
"type": "string"
},
"NomClient": {
"description": "",
"type": "string"
},
"Reservation": {
"description": "",
"type": "string"
},
"TypeService": {
"description": "",
"type": "string"
}
},
"required": []
}
},
"orgId": "e45085fc-efaf-4efd-842d-f6a87f3d3729",
"server": {
"url": "https://hook.eu2.make.com/wt77twb3m24dsmbs55eugxfzuvjkhkgn",
"timeoutSeconds": 1,
"headers": {}
},
"async": true
}
Vapi Support Bot
05/23/2025, 10:11 AMReservation
tool by name, and that the function name matches exactly (including case). If the tool still isn't triggered, try adding an explicit instruction in your prompt, such as:
text
When the user wants to book an appointment, call the Reservation tool with the required parameters.
This helps the model know when to invoke your webhook.
[See Vapi Custom Tools Guide](https://docs.vapi.ai/tools/custom-tools)
Source:
- [Custom Tools – Vapi Documentation](https://docs.vapi.ai/tools/custom-tools)Vapi Support Bot
05/23/2025, 10:11 AMPlease create a reservation with the following details:
Email: test@example.com, NomClient: John Doe, Reservation: 25 May, TypeService: Consultation.
If this still doesn't trigger the tool, check the assistant logs for errors or mismatches in parameter names and ensure your prompt uses the exact parameter keys as defined.
[See Custom Tools Guide](https://docs.vapi.ai/tools/custom-tools)
Source:
- [Custom Tools – Vapi Documentation](https://docs.vapi.ai/tools/custom-tools)[MVA] Max
05/23/2025, 10:16 AMVapi Support Bot
05/23/2025, 10:18 AMbash
curl https://api.vapi.ai/assistant/{your-assistant-id} \
-H "Authorization: Bearer <your-token>"
This will return your assistant's full configuration—including tools and prompts—in a code-like JSON structure.
Note: Replace {your-assistant-id}
and <your-token>
with your actual values.
[See API reference](https://docs.vapi.ai/api-reference/assistants/get)
Source:
- [Get Assistant – Vapi API Reference](https://docs.vapi.ai/api-reference/assistants/get)[MVA] Max
05/23/2025, 10:21 AMVapi Support Bot
05/23/2025, 10:23 AMVapi Support Bot
05/23/2025, 10:23 AMKyle
05/23/2025, 12:50 PM[MVA] Max
05/23/2025, 12:56 PM[MVA] Max
05/23/2025, 12:56 PM[MVA] Max
05/23/2025, 12:57 PMVapi Support Bot
05/23/2025, 12:58 PMVapi Support Bot
05/23/2025, 12:58 PMVapi Support Bot
05/23/2025, 12:58 PMVapi Support Bot
05/23/2025, 12:58 PMPlease create a reservation with: Email: test@example.com, NomClient: John Doe, Reservation: 25 May, TypeService: Consultation.
If the tool still isn't triggered in chat, double-check your parameter names and review the assistant logs for any errors or missed tool call attempts.
[See Chat Testing Guide](https://docs.vapi.ai/test/chat-testing)
Sources:
- [Chat Testing – Vapi Documentation](https://docs.vapi.ai/test/chat-testing)
- [Custom Tools – Vapi Documentation](https://docs.vapi.ai/tools/custom-tools)Vapi Support Bot
05/23/2025, 12:59 PM[MVA] Max
05/23/2025, 1:30 PM[MVA] Max
05/23/2025, 1:36 PMVapi Support Bot
05/23/2025, 1:38 PMKings_big💫
05/23/2025, 2:48 PMVapi Support Bot
05/23/2025, 2:50 PM[MVA] Max
05/23/2025, 3:12 PMVapi Support Bot
05/23/2025, 3:14 PMVapi Support Bot
05/23/2025, 3:14 PMKings_big💫
05/23/2025, 3:16 PM[MVA] Max
05/23/2025, 3:32 PM[MVA] Max
05/23/2025, 3:32 PMVapi Support Bot
05/23/2025, 3:33 PMVapi Support Bot
05/23/2025, 3:33 PMVapi Support Bot
05/23/2025, 3:33 PMKings_big💫
05/23/2025, 3:39 PMVapi Support Bot
05/23/2025, 3:40 PMKyle
05/24/2025, 3:53 AM