Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Anthropic::ToolChoice
Inherits
Struct
<
Value
<
Object
Constructors
any
Source
auto
Source
from_core
(value :
Crig::Completion::ToolChoice
) : self
Source
new
(kind :
Kind
, name :
String
|
Nil
= nil)
Source
none
Source
tool
(name :
String
) : self
Source
Instance methods
kind
Source
name
Source
to_json
(json :
JSON::Builder
) :
Nil
Source
Nested types
Crig::Providers::Anthropic::ToolChoice::Kind