LiveServerToolCallCancellation

@PublicPreviewAPI
public final class LiveServerToolCallCancellation implements 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 fields

final @NonNull List<@NonNull String>

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

Public constructors

Public fields

functionIds

public final @NonNull List<@NonNull StringfunctionIds

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

Public constructors

LiveServerToolCallCancellation

public LiveServerToolCallCancellation(@NonNull List<@NonNull String> functionIds)