Is the event `function_tools_executed` is emitted ...
# ask-ai
c
Is the event
function_tools_executed
is emitted on if a function call was successfully executed (e.g without errors) or anytime a function call is done?
t
Thanks for reaching out, Yousri. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking whether
function_tools_executed
fires only on successful executions or on every function call. The
function_tools_executed
event is emitted every time a function call is made, regardless of success. It includes: • `function_calls`: list of function calls made • `function_call_outputs`: corresponding outputs, which may include error details if execution failed Would you like an example payload or how to handle errors from that event? Sources: Events and error handling | LiveKit docs