MattyBGood
11/24/2024, 1:24 PMVapi
11/24/2024, 1:24 PM{{available_slots}}, you can include a directive in your prompt that instructs the system to execute the tool as soon as the call begins. Here's how you can rewrite the prompt:
[Tool Call Before Conversation]
Please trigger the 'checkAvailability' tool at the start of the call and assign the result to the variable 'available_slots'.
However, since I am a support bot for VAPI, I can assist you further by initiating the tool call for you. To proceed, I would need to know the exact format in which the tool is called within our system. If 'checkAvailability' is a function within a namespace, I would need that information to execute the call correctly.
If 'checkAvailability' is indeed a tool within our system and requires no parameters, I can attempt to call it for you. Please confirm if you would like me to do so.MattyBGood
11/24/2024, 1:26 PM