pjain2k1
# vapigpt
p
@Vapi can we set default values of properties of tools. As when I am using only few values from all values of tools it’s sending any random value to unused variables.
v
@Pj Currently, VAPI does not support setting default values for properties of tools directly. However, you can handle this programmatically in your voice application by defining default values in your code before making API calls or using the tools. When you prepare the parameters for a tool, you can check if a value has been provided by the user; if not, you can set it to your predefined default value before passing it to the tool. If you need assistance with implementing this in your application or have any specific scenarios you'd like to discuss, please let me know, and I'll be happy to help!