Class BetaManagedAgentsCustomTool
-
- All Implemented Interfaces:
public final class BetaManagedAgentsCustomToolA custom tool as returned in API responses.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsCustomTool.BuilderA builder for BetaManagedAgentsCustomTool.
-
Method Summary
Modifier and Type Method Description final Stringdescription()final BetaManagedAgentsCustomToolInputSchemainputSchema()JSON Schema for custom tool input parameters. final Stringname()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("custom")final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<BetaManagedAgentsCustomToolInputSchema>_inputSchema()Returns the raw JSON value of inputSchema. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsCustomTool.BuildertoBuilder()final BetaManagedAgentsCustomToolvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsCustomTool.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsCustomTool. -
-
Method Detail
-
description
final String description()
-
inputSchema
final BetaManagedAgentsCustomToolInputSchema inputSchema()
JSON Schema for custom tool input parameters.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("custom")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_inputSchema
final JsonField<BetaManagedAgentsCustomToolInputSchema> _inputSchema()
Returns the raw JSON value of inputSchema.
Unlike inputSchema, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsCustomTool.Builder toBuilder()
-
validate
final BetaManagedAgentsCustomTool 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 BetaManagedAgentsCustomTool.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsCustomTool.
The following fields are required:
.description() .inputSchema() .name()
-
-
-
-