Klinton Panz
03/10/2025, 8:50 AMVapi Support Bot
03/10/2025, 8:52 AMToolCallFunction
to ToolCall
with a new schema that includes properties like name
, tool
, and toolBody
. If you haven't updated your code to use this new schema, that could be causing the empty returns [Vapi Changelog, January 22, 2025](https://docs.vapi.ai/changelog/2025/1/22).
2. **Schema Validation Issues**: Your function might need an update to include additionalProperties: false
in its schema to comply with OpenAI's requirements. Without this, the function might not execute properly.
3. **Data Handling Errors**: We've seen cases where data appears correct in logs but arrives empty in webhooks, which could be what you're experiencing with Make.com integration.
To troubleshoot:
- Check that your webhook settings in Vapi are correctly triggering the Make.com scenario
- Verify your function schema has been updated to the new format
- Try testing with static data to debug any dynamic data handling errors
Here's an example of the updated schema format you might need:
json
{
"function": {
"parameters": {
"type": "object",
"properties": {
// your properties here
},
"required": ["your_required_fields"],
"additionalProperties": false
}
}
}
Let me know if updating your schema resolves the issue or if you need further assistance!
Sources:
- [Vapi Changelog, January 22, 2025](https://docs.vapi.ai/changelog/2025/1/22)
- [Discord Discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341487904677167114)
- [Discord Channel](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335308574556946480)Klinton Panz
03/10/2025, 11:56 AMKlinton Panz
03/10/2025, 11:57 AM{
"type": "function",
"function": {
"name": "offerCode",
"description": "Get the Callers Offer code during the call."
},
"server": {
"url": ""
},
"additionalProperties": false
}
Klinton Panz
03/10/2025, 11:59 AMKlinton Panz
03/10/2025, 12:14 PMPraveen Nair
03/11/2025, 1:57 PMKlinton Panz
03/11/2025, 9:35 PM