struct

Anthropic::AdvisorToolResultErrorContent

Inherits JSON::Serializable < Struct < Value < Object

Advisor tool error result.

Constructors

new(error_code : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

error_code

One of max_uses_exceeded, prompt_too_long, too_many_requests, overloaded, unavailable, execution_time_exceeded.

Source
type
Source