Class BetaManagedAgentsAutoPolicy
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAutoPolicyThe server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAutoPolicy.BuilderA builder for BetaManagedAgentsAutoPolicy.
-
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("auto")final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAutoPolicy.BuildertoBuilder()final BetaManagedAgentsAutoPolicyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAutoPolicy.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAutoPolicy. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("auto")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 BetaManagedAgentsAutoPolicy.Builder toBuilder()
-
validate
final BetaManagedAgentsAutoPolicy 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 BetaManagedAgentsAutoPolicy.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAutoPolicy.
-
-
-
-