DeFerath
04/27/2025, 12:20 PMVapi Support Bot
04/27/2025, 12:22 PMDeFerath
04/27/2025, 12:41 PMVapi Support Bot
04/27/2025, 12:43 PMsynchronous
instead of async
mode, as this is a common issue with chat function toolcalls. Also ensure your response format is correct:
json
{
"results": [
{
"toolCallId": "<your-tool-call-id>",
"result": "Success message as a single-line string"
}
]
}
For JSON responses, make sure they're stringified and don't contain line breaks.
Sources:
- [Troubleshooting steps for toolcalls](https://discord.com/channels/1211482211119796234/1342315282198298729)
- [Tool call response format](https://discord.com/channels/1211482211119796234/1325000684231196775)DeFerath
04/27/2025, 12:44 PMKings_big💫
04/27/2025, 12:48 PMDeFerath
04/27/2025, 12:52 PMGeneralKugelBlitz
04/27/2025, 4:36 PMGeneralKugelBlitz
04/27/2025, 4:36 PMGeneralKugelBlitz
04/27/2025, 4:37 PMAditya
04/27/2025, 10:23 PMShubham Bajaj
04/28/2025, 12:19 AMGeneralKugelBlitz
04/28/2025, 1:37 PMGeneralKugelBlitz
04/28/2025, 1:38 PMGeneralKugelBlitz
04/28/2025, 1:44 PMGeneralKugelBlitz
04/28/2025, 1:45 PMGeneralKugelBlitz
04/28/2025, 1:45 PMAditya
04/29/2025, 12:48 PMDeFerath
05/01/2025, 10:34 AMAditya
05/05/2025, 8:39 PMDeFerath
05/05/2025, 10:51 PMAditya
05/06/2025, 9:25 PM