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