struct

Anthropic::BetaManagedAgentsEffort

Inherits JSON::Serializable < Struct < Value < Object

Effort level object for Managed Agents model config.

API params also accept the bare string form ("high"); responses use the object form ({"type": "high"}).

Anthropic::BetaManagedAgentsEffort.high          # => {type: "high"}
Anthropic::BetaManagedAgentsEffort.new("medium") # => {type: "medium"}

Constructors

high
Source
medium
Source
new(type : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
xhigh
Source

Instance methods

type

One of "low", "medium", "high", "xhigh", "max".

Source