struct

Anthropic::BetaSessionUserToolResultEvent

Inherits JSON::Serializable < Struct < Value < Object

A tool result to send to a session.

Constructors

new(tool_use_id : String, content : Array(BetaSessionEventContent) | Nil = nil, is_error : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content
Source
is_error
Source
tool_use_id
Source
type
Source