Anthropic::ToolResultContent
Inherits JSON::Serializable < Struct < Value < Object
Tool result content block (from user)
Constructors
new(pull : JSON::PullParser)
Sourcenew(tool_use_id : String, content : String | Array(ToolResultBlockContent) | Nil = nil, is_error : Bool | Nil = nil, cache_control : CacheControl | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cache_control
Sourcecontent
Sourceis_error
Sourcetool_use_id
Sourcetype
Source