https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@605090813025976344> I am having an issue with a ...
# general
m
@Omar Ashraf | Community Lead I am having an issue with a custom function. I am instructing the agent clearly to substitute the filter in the query params. At my endpoint i am receiveing {{phone_number}} instead of properly substituting the variable. ([v0] URL: api/find-patient?filter=%7B%7Bphone_number%7D%7D) this is how its being recieved. I have tried several different methods to get this working. This ussually is not an issue however at this point I am almost certain this is a retell issue. Can you or anyone please advise how to fix this? Oddly enough in the tool log it shows "tool invocation filter: '123456789' so in retell it appears as if its working. But whats actually being sent is not getting subsitituted with the correct variable. Any suggestions?? https://cdn.discordapp.com/attachments/1186462578310910112/1450862517311111238/Screenshot_2025-12-17_at_9.48.19_AM.png?ex=69441483&is=6942c303&hm=a40b366761355a7217ffc519042e59f7556d7afbb7d283ae07e36d41abf17bc1&