struct

Anthropic::Tool(T)

Inherits JSON::Serializable / Anthropic::Resource / Struct / Value / Object

Constructors

new(name : String, description : Nil | String, input_type : T)
Source
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

description
Source
input_type
Source
name
Source
to_json(json : JSON::Builder) : Nil
Source

Nested types