LiveServerToolCallCancellation
@available(iOS 15.0, macOS 12.0, tvOS 15.0, *)
@available(watchOS, unavailable)
public struct LiveServerToolCallCancellation : SendableNotification for the client to cancel a previous function call from LiveServerToolCall.
The client does not need to send FunctionResponseParts for the cancelled
FunctionCallParts.
-
A list of function ids matching the
functionIdprovided in a previousLiveServerToolCall, where only the provided ids should be cancelled.Declaration
Swift
public var ids: [String]? { get }