Class BetaResponseToolInputSchema
-
- All Implemented Interfaces:
public final class BetaResponseToolInputSchemaJSON schema for this tool's input.
This defines the shape of the
inputthat your tool accepts and that the model will produce.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseToolInputSchema.BuilderA builder for BetaResponseToolInputSchema.
public final classBetaResponseToolInputSchema.Properties
-
Method Summary
Modifier and Type Method Description final Optional<BetaResponseToolInputSchema.Properties>properties()final Optional<List<String>>required()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("object")final JsonField<BetaResponseToolInputSchema.Properties>_properties()Returns the raw JSON value of properties. final JsonField<List<String>>_required()Returns the raw JSON value of required. final Map<String, JsonValue>_additionalProperties()final BetaResponseToolInputSchema.BuildertoBuilder()final BetaResponseToolInputSchemavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseToolInputSchema.Builderbuilder()Returns a mutable builder for constructing an instance of BetaResponseToolInputSchema. -
-
Method Detail
-
properties
final Optional<BetaResponseToolInputSchema.Properties> properties()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("object")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_properties
final JsonField<BetaResponseToolInputSchema.Properties> _properties()
Returns the raw JSON value of properties.
Unlike properties, this method doesn't throw if the JSON field has an unexpected type.
-
_required
final JsonField<List<String>> _required()
Returns the raw JSON value of required.
Unlike required, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaResponseToolInputSchema.Builder toBuilder()
-
validate
final BetaResponseToolInputSchema 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 BetaResponseToolInputSchema.Builder builder()
Returns a mutable builder for constructing an instance of BetaResponseToolInputSchema.
-
-
-
-