Hey
@Shubham Bajaj,
I actually started working on building the custom tool. I'm facing this error message when I'm building a custom voicemail detection and message tool in VAPI. I'm sharing the error screenshot here:
Here is the JSON Code:{
"model": {
"provider": "openai",
"model": "gpt-4o",
"messages": [
{
"type": "system",
"content": "You are a sales representative for CDS. If at any point you determine you're speaking to a voicemail system (greeting mentions 'unavailable', 'leave a message', 'voicemail', etc.), immediately use the leave_voicemail tool."
}
],
"tools": [
{
"type": "voicemail",
"function": {
"name": "leave_voicemail",
"description": "Leave a voicemail message when you detect you've reached a voicemail system"
},
"messages": [
{
"type": "request-start",
"content": "Hi {{name}}, this is Linda at CDS. We work with IT firms and MSPs on secure backup, recovery, and cybersecurity. You can reach me at 531-223-1129. Again, this is Linda with Central Data Storage, at 531-223-1129. Looking forward to connecting."
}
]
}
]
}
}
Please, please help me resolve this issue ASAP.
I'm currently using this webpage as a resource to build this voicemail tool out:
https://docs.vapi.ai/tools/voicemail-tool
Please let me know if I'm making any mistake or this is an issue from VAPI's side
@Ron,
@millionaire,
@Hashrod,
@Jason,
@Ocha,
@Fabiansky Trafada Perkasa,
@Painter-CNH,
@Space Cowboy,
@Amir76
https://cdn.discordapp.com/attachments/1228667357849849856/1415391351805182033/image.png?ex=68c5ac6a&is=68c45aea&hm=82b240efae9411df528fe00667e61c3e5a72e63fe269d5953b1a205631ee45a9&