Class BetaToolBash20250124
-
- All Implemented Interfaces:
public final class BetaToolBash20250124
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaToolBash20250124.BuilderA builder for BetaToolBash20250124.
-
Method Summary
Modifier and Type Method Description final JsonValue_name()Name of the tool. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("bash_20250124")final Optional<BetaCacheControlEphemeral>cacheControl()Create a cache control breakpoint at this content block. final JsonField<BetaCacheControlEphemeral>_cacheControl()Returns the raw JSON value of cacheControl. final Map<String, JsonValue>_additionalProperties()final BetaToolBash20250124.BuildertoBuilder()final BetaToolBash20250124validate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaToolBash20250124.Builderbuilder()Returns a mutable builder for constructing an instance of BetaToolBash20250124. -
-
Method Detail
-
_name
final JsonValue _name()
Name of the tool.
This is how the tool will be called by the model and in
tool_useblocks.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).
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("bash_20250124")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
cacheControl
final Optional<BetaCacheControlEphemeral> cacheControl()
Create a cache control breakpoint at this content block.
-
_cacheControl
final JsonField<BetaCacheControlEphemeral> _cacheControl()
Returns the raw JSON value of cacheControl.
Unlike cacheControl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaToolBash20250124.Builder toBuilder()
-
validate
final BetaToolBash20250124 validate()
-
builder
final static BetaToolBash20250124.Builder builder()
Returns a mutable builder for constructing an instance of BetaToolBash20250124.
-
-
-
-