Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Cohere::ToolCall
Inherits
Struct
<
Value
<
Object
Constructors
from_json_value
(value :
JSON::Any
) : self
Source
new
(id :
String
|
Nil
= nil, type :
ToolType
|
Nil
= nil, function :
ToolCallFunction
|
Nil
= nil)
Source
Instance methods
function
Source
id
Source
to_json
(json :
JSON::Builder
) :
Nil
Source
type
Source