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. This event includes a
seq field for global ordering and a turn_idx field to identify which conversational turn triggered the tool call. See Event Ordering and Turn Tracking for details.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"
A globally monotonic sequence number assigned to each event. Use this to determine the ordering of events — a higher seq means the event was sent later. This is useful for reconciling events that may arrive out of order.
42
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"
The conversation turn index. This value increments each time a conversation.respond interaction is received, and groups all events that belong to the same conversational turn. Use this to correlate events (utterances, tool calls, speaking state changes, etc.) that are part of the same turn.
3
This object will contain the name and arguments properties that have been extracted from the ChoiceDeltaToolCallFunction object