Toolcalls in make
# support
a
I have a Tool setup in vapi with 3 properties: userName, userReason which are captured at the beginning of the call and userResponce1 which should capture the callers responce for the given date= yes/no. When calling, only userName and userReason get sent, but userResponce1 doesn't even appear in the properties section. @Vapi https://cdn.discordapp.com/attachments/1264973674214064244/1264973674826694727/image_1.png?ex=669fd20a&is=669e808a&hm=866c095270e2771f243d76f29be563c579880a8a045644cd29c20ce3bd53ef59& https://cdn.discordapp.com/attachments/1264973674214064244/1264973675141136424/image_2.png?ex=669fd20a&is=669e808a&hm=52aa31ec9739de5b5135d50b77afaf54b47ec77bd1baca539ef86a03b1c2dd11&
v
@Adm420419 It sounds like there might be an issue with how the
userResponse1
property is being captured or sent in the HTTP request. To assist you further, I would need to check the configuration of your tool setup. Could you please provide more details on how you're capturing the
userResponse1
and how you're expecting it to be sent? This will help me understand where the issue might be occurring and guide you on how to resolve it.
You can continue this conversation by mentioning me in the message.
a
userResponse1 capturesthe user's response after being presented the date. String. @Vapi I already used this setup previously with functions
v
@Adm420419 It's great to hear that you've successfully used this setup with functions before. If
userResponse1
is not appearing in the properties section, there might be a few things to check: 1. **Configuration**: Ensure that
userResponse1
is correctly configured to be captured as part of the voice interaction. It should be set up to listen for a response after the date is presented. 2. **Voice Recognition**: Verify that the voice recognition is working correctly and is able to understand and capture the 'yes/no' response from the caller. 3. **API Request**: Make sure that the property
userResponse1
is included in the API request payload. If it's conditional, ensure that the conditions under which it is included are being met. 4. **Code Review**: If you're using code to handle the API request, review the code to ensure that
userResponse1
is being handled correctly. If you've checked these aspects and the issue persists, it might be helpful to look at the logs or any error messages you're receiving. If you can provide any specific error messages or logs, I can offer more targeted advice. Otherwise, if you need further assistance with the technical setup, please ask support for more info on this.
a
@Vapi but the issue is, it doesnt even appear as a property. I would understand if it was empty/wrong data.
v
@Adm420419 If
userResponse1
is not appearing as a property at all, it suggests that there might be an issue with the configuration of the voice interaction model or the API setup. Here are a few steps you can take to troubleshoot this issue: 1. **Check Interaction Model**: Review the voice interaction model to ensure that
userResponse1
is defined as an intent slot or entity that can be captured. 2. **Review API Integration**: If you're using an API to send the data, ensure that
userResponse1
is included in the API's schema or data model. 3. **Inspect Code**: If there is custom code involved in the setup, inspect the code to ensure that
userResponse1
is being handled and included in the data payload. 4. **Deployment**: Make sure that any recent changes to the interaction model or code have been deployed. Sometimes, changes made are not reflected because the latest version has not been deployed. 5. **Permissions**: Verify that there are no permission issues that might prevent
userResponse1
from being included. 6. **Documentation**: Refer to the documentation of the tool or API you are using to ensure that all steps for adding a new property have been followed correctly. If after checking these areas the property still does not appear, it may be necessary to reach out to the support team for the specific tool or API you are using. They may be able to provide more detailed assistance or identify if there is a bug or system issue affecting the property's visibility.
a
@Shubham Bajaj
s
this is server message tool call type.
@Adm420419

https://youtu.be/4fLe3sRH_uI

please check this if still blocked we will do it.
a
@Shubham Bajaj I did the rest based on this video, but can't resolve my problem
s
ok ping me once your online else we have to connect.
check your DM we will resolve over the call.