N3squik
03/15/2025, 10:51 AMendCall
tool on my assistant. Before calling the tool, it says "Goodbye" out loud and then calls the tool. I have the same issue when using Squads, with AI saying "Transferring the call now" before it transfers to the next Assistant.
Is it possible to stop it saying any message and just make it call the tool straight away?Vapi Support Bot
03/15/2025, 10:52 AMendCall
tool:
You can disable the default "Goodbye" message by setting empty messages in your tool configuration. This can be done through a PATCH request to the Vapi API:
bash
curl --location --request PATCH 'https://api.vapi.ai/tool/toolId' \
--header 'Authorization: Bearer YourAccessToken' \
--header 'Content-Type: application/json' \
--data '{
"messages": [
{
"type": "request-start",
"content": ""
},
{
"type": "request-complete",
"content": ""
},
{
"type": "request-failed",
"content": ""
},
{
"type": "request-response-delayed",
"content": ""
}
]
}'
### For Squads and call transfers:
To suppress the "Transferring the call now" message, you need to configure the transferCall
tool with an empty request-start message:
json
{
"type": "transferCall",
"destinations": [ ... ],
"messages": [
{
"type": "request-start",
"content": "",
"conditions": []
}
],
"function": {
"name": "yourFunctionName"
}
}
By setting these message contents to empty strings, you're effectively telling the assistant not to say anything before executing the tool.
Note: Some users have reported occasional issues where these settings don't always work as expected. If you continue experiencing problems after implementing these solutions, you might need to check your assistantOverrides
settings as well.
Sources:
- [Discord Discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341585041624666122)
- [Discord Discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334153644379078677)
- [Discord Discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336569634094186516)Vapi
03/17/2025, 9:34 AMN3squik
03/21/2025, 5:21 PM