LiveServerToolCallCancellation

@PublicPreviewAPI
class LiveServerToolCallCancellation : LiveServerMessage


Notification for the client to cancel a previous function call from LiveServerToolCall.

You do not need to send FunctionResponseParts for the cancelled FunctionCallParts.

Summary

Public constructors

Public properties

List<String>

A list of ids matching the id provided in a previous LiveServerToolCall, where only the provided ids should be cancelled.

Public constructors

LiveServerToolCallCancellation

LiveServerToolCallCancellation(functionIds: List<String>)

Public properties

functionIds

val functionIdsList<String>

A list of ids matching the id provided in a previous LiveServerToolCall, where only the provided ids should be cancelled.