Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Anthropic::ToolDefinition
Inherits
Struct
<
Value
<
Object
Constructors
new
(name :
String
, input_schema :
JSON::Any
, description :
String
|
Nil
= nil, cache_control :
CacheControl
|
Nil
= nil)
Source
Instance methods
cache_control
Source
description
Source
input_schema
Source
name
Source
to_json
(json :
JSON::Builder
) :
Nil
Source
to_json_value
Source