struct Anthropic::ToolUse

Defined in:

message_content.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Anthropic::MessageContent

type : String type

Constructor methods inherited from struct Anthropic::MessageContent

new(pull : JSON::PullParser) new

Constructor Detail

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

def self.new(*, id : String, name : String, input : Hash(String, Array(JSON::Any) | Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil)) #

Instance Method Detail

def id : String #

def input : Hash(String, JSON::Any::Type) #

def name : String #

def type : String #