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.
public final classBetaManagedAgentsCustomTool.Type
-
Method Summary
-
-
Method Detail
-
description
final String description()
-
inputSchema
final BetaManagedAgentsCustomToolInputSchema inputSchema()
JSON Schema for custom tool input parameters.
-
type
final BetaManagedAgentsCustomTool.Type type()
-
_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.
-
_type
final JsonField<BetaManagedAgentsCustomTool.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 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() .type()
-
-
-
-