struct

Crig::Providers::Gemini::Interactions::ToolChoice

Inherits Struct < Value < Object

Constructors

config(config : ToolChoiceConfig) : self
Source
from_core(choice : Crig::Completion::ToolChoice) : self
Source
new(kind : Kind, type : ToolChoiceType | Nil = nil, config : ToolChoiceConfig | Nil = nil)
Source
type(type : ToolChoiceType) : self
Source

Instance methods

config
Source
kind
Source
to_json(json : JSON::Builder) : Nil
Source
type
Source

Nested types