class Anthropic::ToolUse

Defined in:

message_content.cr

Constructors

Instance Method Summary

Instance methods inherited from class Anthropic::MessageContent

cache_control : CacheControl | Nil cache_control, cache_control!(cache_control : CacheControl | Nil = CacheControl.new) : self cache_control!, cache_control=(cache_control : CacheControl | Nil) cache_control=, no_cache_control! : self no_cache_control!, type : String type

Constructor methods inherited from class 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]