Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentToolEvaluationAuto

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rb,
sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(evaluated_permission:, type: :auto) ⇒ Object

The resolved permission_policy was auto: the server judged this invocation individually.

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Sessions::BetaManagedAgentsAgentToolEvaluationAuto for more details.

Parameters:



# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rb', line 22


Instance Attribute Details

#evaluated_permissionAnthropic::Models::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermissionAllow, ...

The server's per-invocation judgement under the auto permission policy. Its type always equals the event's top-level evaluated_permission. Open union: clients must tolerate unknown variants.



14
15
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rb', line 14

required :evaluated_permission,
union: -> { Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermission }

#typeSymbol, :auto

Parameters:

  • value (:auto)

Returns:

  • (Symbol, :auto)


20
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rb', line 20

required :type, const: :auto

Instance Method Details

#to_hash{

Returns:

  • ({)


21
# File 'sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rbs', line 21

def to_hash: -> {