Spryin
09/17/2025, 12:11 PMVapi Support Bot
09/17/2025, 12:13 PMjson
{
"results": [
{
"toolCallId": "YOUR_TOOL_CALL_ID",
"result": { "your_expected_data": "value" }
}
]
}
Update your server or tool configuration to include the detailed data in the result field, so the assistant can access and relay it to the user.
Source:
- [Custom Tools Server Response Format](https://docs.vapi.ai/tools/custom-tools#server-response-format-providing-results-and-context)Chiranjeet Mishra
09/19/2025, 10:09 AMasync option on your tool and it should produce the results from the toolSeygi
09/19/2025, 8:34 PMSeygi
09/19/2025, 8:34 PMjson
"tools": [
{
"type": "query",
"function": {
"name": "knowledge-search"
},
"knowledgeBases": [
{
"name": "assistant-kb",
"fileIds": [
"cad40fc4-a12e-4d18-bd01-4d356ade0e76"
],
"provider": "google",
"description": "Contains comprehensive information about the company, its products, services, policies, and procedures. Use this knowledge base to provide accurate and relevant information to customers."
}
]
}
]Seygi
09/19/2025, 8:46 PMSpryin
09/20/2025, 1:41 PMChiranjeet Mishra
09/23/2025, 7:30 PMasync for the query tool