Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Mistral::ToolCall
Inherits
Struct
<
Value
<
Object
Constructors
from_core
(tool_call :
Crig::Completion::ToolCall
) : self
Source
from_json_value
(value :
JSON::Any
) : self
Source
new
(id :
String
, function :
Function
, type :
ToolType
=
ToolType::Function
)
Source
Instance methods
function
Source
id
Source
type
Source