Manu
03/09/2025, 11:37 PMVapi Support Bot
03/09/2025, 11:38 PMparameters
object that describes the parameters expected by your function. Here's an example of how a tool configuration should look:
json
{
"type": "function",
"messages": [
{
"type": "request-start",
"content": "Checking the weather forecast. Please wait..."
}
],
"function": {
"name": "get_weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
}
},
"description": "Retrieves the current weather for a specified location."
},
"async": false,
"server": {
"url": "https://your-weather-api.com/weather"
}
}
Vapi did recently update their tool schema to use a function
property with id
and function
details instead of the older tool
and toolBody
properties [according to the changelog](https://docs.vapi.ai/changelog/2025/1/22).
For more detailed information, you can check the [Vapi Custom Tools Documentation](https://docs.vapi.ai/tools/custom-tools).
If you're still experiencing issues after following these guidelines, it might indeed be a bug that hasn't been documented yet. Could you share more details about what specifically happens when you try to add parameters?
Sources:
- [Vapi changelog](https://docs.vapi.ai/changelog/2025/1/22)
- [Vapi Custom Tools Documentation](https://docs.vapi.ai/tools/custom-tools)Manu
03/09/2025, 11:43 PMtongsitat
03/10/2025, 12:52 AMPen π»
03/10/2025, 7:23 AMShubham Bajaj
03/11/2025, 1:13 PMPen π»
03/11/2025, 1:13 PM