LanguageModelSession.ToolCallError An error that occurs while a system language model is calling a tool. Declarationstruct ToolCallError Mentioned inExpanding generation with tool calling TopicsCreating a tool call errorinit(tool:underlyingError:)Getting the tooltoolGetting the error descriptionerrorDescriptionGetting the underlying errorunderlyingError RelationshipsConforms ToErrorLocalizedErrorSendableSendableMetatype See AlsoGetting the error typesLanguageModelSession.GenerationError