struct

Crig::Completion::ToolChoice

Inherits Struct < Value < Object

Constructors

auto
Source
new(kind : Kind, function_names : Array(String) = [] of String)
Source
none
Source
required
Source
specific(function_names : Array(String)) : self
Source

Instance methods

auto?
Source
function_names
Source
kind
Source
none?
Source
required?
Source
specific?
Source
to_json(json : JSON::Builder) : Nil
Source

Nested types