LiveServerToolCallCancellation interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Notification to cancel a previous function call triggered by LiveServerToolCall.

Signature:

export interface LiveServerToolCallCancellation 

Properties

Property Type Description
functionIds string[] (Public Preview) IDs of function calls that were cancelled. These refer to the id property of a FunctionCall.
type 'toolCallCancellation' (Public Preview)

LiveServerToolCallCancellation.functionIds

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

IDs of function calls that were cancelled. These refer to the id property of a FunctionCall.

Signature:

functionIds: string[];

LiveServerToolCallCancellation.type

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

type: 'toolCallCancellation';