call(arguments:)
A language model will call this method when it wants to leverage this tool.
Declaration
@concurrent func call(arguments: Self.Arguments) async throws -> Self.OutputMentioned in
Discussion
If errors are throw in the body of this method, they will be wrapped in a LanguageModelSession.ToolCallError and rethrown at the call site of respond(to:options:).