ketchuptea
04/01/2025, 1:02 PMVapi Support Bot
04/01/2025, 1:04 PMsynchronous
instead of async
as mentioned in [this thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342315282198298729). However, be aware that synchronous tool calls might face issues where the server immediately regards them as failed, sending a tool_call_result
message with "No result returned" to the LLM.
### 3. Webhook ApproachVapi Support Bot
04/01/2025, 1:04 PMvariableValues
object within assistantOverrides
when starting a Vapi instance:
javascript
vapiInstance = vapiSDK.run({
apiKey: apiKey,
assistant: assistant,
config: buttonConfig,
assistantOverrides: {
variableValues: {
userId: "yourUserIdHere"
}
}
});
This way, the data will be available when Vapi calls the webhook, as mentioned in [this thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339495894801711186).
## Enhancement Potential
Based on the information I found, this capability would indeed be a valuable enhancement to VAPI. Multiple users have reported issues with tool calls not working as expected, with some expressing a desire for more control and flexibility in their handling.
Is there anything specific about your implementation that you'd like me to help with further?
Sources:
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329542939160084624)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333245023319494707)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342315282198298729)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343397177182912553)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339495894801711186)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343933426721488896)Kyle Brunker
04/01/2025, 9:00 PM