yummy-tealY
VAPI6mo ago
yummy-teal

sms tool not using the messages

Hello!

I'm really having a hard time with the texting tool. It seems like the AI never uses the request-failed, request-complete messages I have set. It just sends the text and then waits for the user to say something.

Here's a callid:
fa3ae31e-557c-4e3e-b16c-0fea03ac6a5c
f67dc277-ca5a-4d30-88e6-d7c38523dfa1

Here's my tool:

{
"id": "b2087f85-cd27-4abb-911c-e9106b6dd84b",
"createdAt": "2025-07-10T17:19:52.522Z",
"updatedAt": "2025-07-15T20:29:26.363Z",
"type": "sms",
"function": {
"name": "sms"
},
"messages": [{
"type": "request-start",
"content": "Let me send you the text right now."
}, {
"type": "request-complete",
"content": "Alright! I've just sent you a text now, do you need anything else?"
}, {
"type": "request-failed",
"content": "I'm sorry I seem to not be able to text right now, can you write down the information instead?"
}],
"orgId": "87f63d30-7e9e-4ef4-bd61-9acc7ce59a3b"
}

Even in my prompt I have to confirm once the send is successful but still doesn't work.

@Vapi Support Bot
Was this page helpful?