struct Anthropic::ToolResult
- Anthropic::ToolResult
- Anthropic::MessageContent
- Struct
- Value
- Object
Defined in:
message_content.crConstructors
- .new(pull : JSON::PullParser)
- .new(*, tool_use_id : String, error : Bool = false, content : Array(Text) | Array(Image))
- .new(*, tool_use_id : String, error : Bool = false, content : Array(Anthropic::TextOrImageContent))
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(*, tool_use_id : String, error : Bool = false, content : Array(Anthropic::TextOrImageContent))
#