KH
08/08/2024, 1:48 PMVapi
08/08/2024, 1:49 PMtype, messages, function, async, and server fields. If you need a specific example tailored to your tool, please let me know the details of the tool you're using, and I can help you construct a sample payload.Vapi
08/08/2024, 1:49 PMKH
08/08/2024, 1:52 PMKH
08/08/2024, 1:53 PMVapi
08/08/2024, 1:53 PMserver parameter would typically include the details of the tool invocation along with the server parameter you've specified. Here's an example of what the payload might look like:
json
{
"tool_name": "YourToolName",
"parameters": {
"server": "https://your-server-url.com"
},
"call_id": "unique-call-identifier",
"timestamp": "2023-04-01T12:34:56Z"
}
In this payload:
- tool_name would be the name of the tool being called.
- parameters would contain the server parameter with the URL you provided.
- call_id would be a unique identifier for the call during which the tool is being used.
- timestamp would be the time at which the tool was called.
Please replace "YourToolName" and "https://your-server-url.com" with the actual name of your tool and the server URL you are using. If you need more specific information or if there are additional parameters, please provide further details.KH
08/08/2024, 1:54 PMKH
08/08/2024, 1:54 PMVapi
08/08/2024, 1:54 PMjson
{
"status": "success",
"message": "Tool execution completed successfully.",
"data": {
// ... include any relevant data here ...
}
}
In this payload:
- status indicates the outcome of the tool execution, which can be success, error, or other status codes as defined by your tool's API.
- message provides a human-readable description of the result.
- data is an object that contains any additional data you want to return. The structure of this object will depend on what the VAPI expects or what your tool is designed to provide.
Make sure to adhere to the expected schema as defined by VAPI for the tool you are implementing. If there are specific fields or formats required by VAPI, you should include those in your response. If you need further clarification on the exact structure required for your specific tool, please refer to the VAPI documentation or ask for more details.KH
08/08/2024, 1:56 PMVapi
08/08/2024, 1:56 PMKH
08/08/2024, 2:36 PMKH
08/08/2024, 7:19 PMKH
08/08/2024, 7:19 PMShubham Bajaj
08/08/2024, 7:20 PMKH
08/08/2024, 7:20 PMShubham Bajaj
08/08/2024, 8:05 PMKH
08/12/2024, 2:08 PMKH
08/12/2024, 2:08 PMKH
08/12/2024, 2:08 PMShubham Bajaj
08/12/2024, 3:07 PM