https://retellai.com/?utm_source=discord&utm_medium=seo logo
Custom Tool call fails
# ❓・bug-report
m
Hello, i am trying to call a custom vercel endpoint with the Function Node. It Fails with error code 422 Input Looks Correct
Copy code
tool_call_id: tool_call_8bcd50

{
  "ort": "Deggendorf",
  "strasse": "XXXX",
  "typ": "Schlüsseldienst"
}
But the tool result looks weird (see attached file)
o
You have some validation on your server that reject the request.
m
The inputs to the server seem weird
Its accepting only the fields i defined in the tool config
Or does it need to accept anything else (like chat history)
o
retell sends some stuff with the tool call that could be the problem in your server
You can use this option
That will send only that items you defined in the tool config
m
Great that solved the issue
Thanks