struct Anthropic::ToolUse

Defined in:

message_content.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Anthropic::MessageContent

cache_control : CacheControl | Nil cache_control, type : String type

Constructor methods inherited from struct Anthropic::MessageContent

new(pull : JSON::PullParser) new

Constructor Detail

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

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

[View source]

Instance Method Detail

def id : String #

[View source]
def input : Hash(String, JSON::Any::Type) #

[View source]
def name : String #

[View source]
def type : String #

[View source]