Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Completion::ToolChoice
Inherits
Struct
<
Value
<
Object
Constructors
auto
Source
new
(kind :
Kind
, function_names :
Array
(
String
) = [] of
String
)
Source
new
(pull :
JSON::PullParser
)
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
Crig::Completion::ToolChoice::Kind