Tools sends unnecessary data to server endpiont
# support
b
Hi all, I have been trying to implement a tool with VAPI, which for the most part appears to be triggering during the call, although the service is sending me way more data than was requested from the tool output. I setup a simple schema that only submits two fields to my server, but the bot is sending me the entire call schema, including transcripts, llm options, etc... I only want it to hit my endpoint with the specific schema that I provided to it. Call id:
cb4beabb-6533-4ac1-ac0e-7401f7050f51
for example, I only requested these fields:
Copy code
phone_number: String,
user_uuid: String,
but the bot sends me the entire
call
schema
also, when testing the tool, the site is sending an OPTION method, instead of a POST method
even though it shows that its submitting a POST request
a
Hey bsolo, As of now, there is no feature to request for picked properties from the tool called Payload. You will get the complete payload. Regarding the OPTIONS method, which is not triggered by us (instead, it's triggered by the browser or the VAPI client you're using), the option request is not coming from us for sure.
s
try to remove all unnecessary fields from server message in the advanced section and left tool only tool call, hang, metadata only and try again. let me know if it is helpful or not........
a
Marking this ticket as Solved ✅