Tool Call Event
This is an event broadcasted by Tavus.
A tool_call
event is broadcasted by Tavus when an LLM tool call should be made. The event will contain the name and arguments of the function that should be called.
Tool call events can be used to make calls to external APIs or databases.
Message type indicates what product this event will be used for. In this case, the message_type will be conversation
This is the type of event that is being sent back. This field will be present on all events and can be used to distinguish between different event types.
The unique identifier for the conversation.
This object will contain the name
and arguments
properties that have been extracted from the ChoiceDeltaToolCallFunction
object