struct Anthropic::Tool(T)

Included Modules

Extended Modules

Defined in:

tool.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, description : Nil | String, input_type : T) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def description : String | Nil #

def input_type : T #

def name : String #

def to_json(json : JSON::Builder) : Nil #