class

Anthropic::ToolResult

Inherits Anthropic::MessageContent < JSON::Serializable < Anthropic::Resource < Reference < Object

Constructors

new(*, tool_use_id : String, error : Bool = false, content : Array(Text) | Array(Image))
Source
new(*, tool_use_id : String, error : Bool = false, content : Array(Anthropic::TextOrImageContent))
Source

Instance methods

content
Source
error?
Source
tool_use_id
Source
type
Source