This is an event broadcasted by Tavus.
A tool call event denotes when an LLM tool call should be made on the client side. The event will contain the name and arguments of the function that should be called.
Tool call events can be used to call external APIs or databases.
Note: it is the client’s responsibility to take action on these tool calls, as Tavus will not execute code server-side.
For more details on LLM tool calls, please take a look here.
Message type indicates what product this event will be used for. In this case, the message_type will be conversation
"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.
"conversation.tool_call"
The unique identifier for the conversation.
"c123456"
This is a unique identifier for a given utterance. In this case, it will be the user utterance that triggered the tool call.
"83294d9f-8306-491b-a284-791f56c8383f"
This object will contain the name and arguments properties that have been extracted from the ChoiceDeltaToolCallFunction object