SlaviSavanovic
02/28/2025, 7:06 PMVapi Support Bot
02/28/2025, 7:07 PMjson
{
"results": [
{
"toolCallId": "X",
"result": "Y"
}
]
}
- **`toolCallId` (X)**: A unique identifier for each tool call.
- **`result` (Y)**: The output from the tool's execution.
2. **Configure Tool Messages**: In your tool configuration, ensure you define the messages properly. For example:
json
"messages": [
{ "type": "request-start", "content": "Checking the weather forecast. Please wait..." },
{ "type": "request-complete", "content": "The weather in location is" },
{ "type": "request-response-delayed", "content": "It appears there is some delay in communication with the weather API." }
]
Regarding the issue with the success message autofilling incorrectly when left blank, here are some steps to troubleshoot:
1. **Check API Request Formatting**: Ensure that your API request includes all necessary fields and that they are correctly formatted. If the success message is left blank, Vapi may default to using a different message.
2. **Set Explicit Messages**: To avoid default filler messages, explicitly set the message array to empty or provide a specific message. For example:
json
"messages": [
{ "type": "request-complete", "content": "" }
]
3. **Review Server Logs**: If the success message does not appear as expected, check the server logs for any error messages that might provide insights into the issue.Vapi Support Bot
02/28/2025, 7:07 PMSlaviSavanovic
02/28/2025, 7:09 PMVapi Support Bot
02/28/2025, 7:11 PMKyle Brunker
03/03/2025, 8:44 AM