LiveServerToolCall
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
@available(watchOS, unavailable)
public struct LiveServerToolCall : Sendable
Request for the client to execute the provided functionCalls
.
The client should return matching FunctionResponsePart
, where the
functionId
fields correspond to individual FunctionCallPart
s.
-
A list of
FunctionCallPart
to run and return responses for.Declaration
Swift
public var functionCalls: [FunctionCallPart]? { get }