Class BetaManagedAgentsBashToolConfigParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsBashToolConfigParamsConfiguration override for the bash tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsBashToolConfigParams.BuilderA builder for BetaManagedAgentsBashToolConfigParams.
public final classBetaManagedAgentsBashToolConfigParams.PermissionPolicyPermission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
public final classBetaManagedAgentsBashToolConfigParams.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<BetaManagedAgentsBashToolConfigParams.PermissionPolicy> permissionPolicy()
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
-
type
final Optional<BetaManagedAgentsBashToolConfigParams.Type> type()
-
_name
final JsonValue _name()
Must be "bash".
Expected to always return the following:
JsonValue.from("bash")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<BetaManagedAgentsBashToolConfigParams.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<BetaManagedAgentsBashToolConfigParams.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 BetaManagedAgentsBashToolConfigParams.Builder toBuilder()
-
validate
final BetaManagedAgentsBashToolConfigParams 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 BetaManagedAgentsBashToolConfigParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsBashToolConfigParams.
-
-
-
-