FirebaseAILogic Framework Reference

TemplateToolConfig

public struct TemplateToolConfig : Sendable, Encodable

Tool configuration for any Tool specified in the request for server prompt templates.

  • Configures how the model should use the provided retrieval options.

    Declaration

    Swift

    public let retrievalConfig: RetrievalConfig?
  • Constructs a new TemplateToolConfig.

    Declaration

    Swift

    public init(retrievalConfig: RetrievalConfig? = nil)

    Parameters

    retrievalConfig

    Configures how the model should use the provided retrieval options.