https://retellai.com/?utm_source=discord&utm_medium=seo logo
How to handling flows where tool calling results i...
# ❓・bug-report
n
So you need to send some response from the API (or tool call) that indicates that the call failed and why it failed. You can then use this response and ask the agent to follow some steps based on that response, for eg. if the response is "paramater x missing", ask the user to specify x again and retry calling tool_call
f
Ah, that makes sense. Very helpful!