crea_team
02/10/2025, 1:49 PMGET TOOL), the secret is also missing.
Steps to Reproduce
1. Save a secret token for a tool (function) via the UI.
2. Reload the UI (F5) and check the secret field.
3. Create a tool (function) via the API, including a secret token.
4. Retrieve the tool using the API (GET TOOL).
5. Observe that the secret is missing in both the UI and API response.
Expected Behavior
- The secret token should persist after saving and reloading the UI.
- The API should return the secret when retrieving the tool.
Actual Behavior
- The secret token disappears after reloading the UI.
- The API response does not include the secret.
- The issue also occurs when creating a tool (function) with a secret via the API.
Impact
This issue prevents me from using Vapi, as our telephone bot relies on three custom tool-functions that communicate with our server via POST requests. Due to the missing secret, errors are constantly thrown, making it impossible to proceed.
We switched from ElevenLabs to Vapi under the assumption that it was the leading solution, but this issue has been extremely frustrating and a major blocker.
Request
Please investigate and resolve this issue as soon as possible, as it is preventing us from integrating Vapi into our workflow.Chiranjeet Mishra
02/10/2025, 2:37 PMcrea_team
02/10/2025, 3:20 PMcrea_team
02/11/2025, 8:28 AMcrea_team
02/11/2025, 9:35 PMShubham Bajaj
02/12/2025, 2:26 AMjson
"url": "https://dev.----/ride-request/",
"secret": "JKKA-------wUI1",
"timeoutSeconds": 30
},
Here ---- means hidden data.crea_team
02/12/2025, 11:46 AMChiranjeet Mishra
02/12/2025, 12:29 PMcrea_team
02/12/2025, 1:28 PM{ pickup: "Randomstreet 123, Berlin"}
But instead we get a message object sent via the tool with lots of information that we don't need and for which the tool was not set up. This message object then contains the correct key including the string. But we can't rewrite the whole API so that it works with the VAPI tools in the end. With 11labs, only what I have previously set is output, i.e. { pickup: "Randomstreet 123, Berlin"} - and not that:
{
"message":{
"timestamp":1739365818467,
"type":"tool-calls",
"toolCalls":[
{
"id":"call_6X6O2gYDQE79WuNNuqcJIJU7",
"type":"function",
"function":{
"name":"adress_validation",
"arguments":{
"pickup":"Friedhofstraße 1a, Osnabrück"
}
}
}
],
"toolCallList":[
{
"id":"call_6X6O2gYDQE79WuNNuqcJIJU7",
"type":"function",
"function":{
"name":"adress_validation",
"arguments":{
"pickup":"Friedhofstraße 1a, Osnabrück"
}
}
}
],
"toolWithToolCallList":[
{
"type":"function",
"function":{
"name":"adress_validation",
"async":false,
MORE CODE....
So the question is, how can we make sure that the tools only send what I have actually set beforehand?Chiranjeet Mishra
02/12/2025, 6:00 PMcrea_team
02/12/2025, 10:23 PMChiranjeet Mishra
02/13/2025, 3:57 PM