Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Cohere::Function
Inherits
Struct
<
Value
<
Object
Constructors
from_core
(tool :
Crig::Completion::ToolDefinition
) : self
Source
new
(name :
String
, parameters :
JSON::Any
, description :
String
|
Nil
= nil)
Source
Instance methods
description
Source
name
Source
parameters
Source
to_json
(json :
JSON::Builder
) :
Nil
Source