Package com.anthropic.models.beta.agents
Class BetaManagedAgentsAlwaysAskPolicy
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAlwaysAskPolicyTool calls require user confirmation before execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAlwaysAskPolicy.BuilderA builder for BetaManagedAgentsAlwaysAskPolicy.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("always_ask")final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAlwaysAskPolicy.BuildertoBuilder()final BetaManagedAgentsAlwaysAskPolicyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAlwaysAskPolicy.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAlwaysAskPolicy. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("always_ask")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAlwaysAskPolicy.Builder toBuilder()
-
validate
final BetaManagedAgentsAlwaysAskPolicy validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsAlwaysAskPolicy.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAlwaysAskPolicy.
-
-
-
-