Class BetaManagedAgentsWriteToolConfigParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWriteToolConfigParamsConfiguration override for the write tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsWriteToolConfigParams.BuilderA builder for BetaManagedAgentsWriteToolConfigParams.
public final classBetaManagedAgentsWriteToolConfigParams.PermissionPolicyPermission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
public final classBetaManagedAgentsWriteToolConfigParams.Type
-
Method Summary
-
-
Method Detail
-
enabled
final Optional<Boolean> enabled()
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
-
permissionPolicy
final Optional<BetaManagedAgentsWriteToolConfigParams.PermissionPolicy> permissionPolicy()
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
-
type
final Optional<BetaManagedAgentsWriteToolConfigParams.Type> type()
-
_name
final JsonValue _name()
Must be "write".
Expected to always return the following:
JsonValue.from("write")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_permissionPolicy
final JsonField<BetaManagedAgentsWriteToolConfigParams.PermissionPolicy> _permissionPolicy()
Returns the raw JSON value of permissionPolicy.
Unlike permissionPolicy, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsWriteToolConfigParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsWriteToolConfigParams.Builder toBuilder()
-
validate
final BetaManagedAgentsWriteToolConfigParams 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 BetaManagedAgentsWriteToolConfigParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsWriteToolConfigParams.
-
-
-
-