So not the toolID from my Vapi Dashboard - is the rest setup ok? As the assistant is calling the function but keeps saying they cannot schedule the call
"tools": [
{
"type": "function",
"messages": [
{
"type": "request-start",
"content": "Let me check the available times. Please wait..."
},
{
"type": "request-complete",
"content": "Your callback has been scheduled."
},
{
"type": "request-failed",
"content": "I couldn't schedule the callback right now. Please try again later."
},
{
"type": "request-response-delayed",
"content": "It appears there is some delay in scheduling the callback.",
"timingMilliseconds": 2000
}
],
"function": {
"name": "getCallbackDateTime",
"parameters": {
"type": "object",
"properties": {
"datetime": {
"type": "string",
"description": "The date and time the user wants the callback in ISO format."
}
},
"required": ["datetime"]
},
"description": "This function captures the date and time the user would like a callback during a call. It validates the input, saves the information in the database, and schedules the callback. If successful, it returns a confirmation message to the user."
},
"async": false,
"server": {
"url": "https://"
}
}
],