FirebaseAILogic Framework Reference

LiveServerToolCallCancellation

@available(iOS 15.0, macOS 12.0, tvOS 15.0, *)
@available(watchOS, unavailable)
public struct LiveServerToolCallCancellation : Sendable

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

The client does not need to send FunctionResponseParts for the cancelled FunctionCallParts.

  • ids

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

    Declaration

    Swift

    public var ids: [String]? { get }