Class BetaManagedAgentsCustomToolParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsCustomToolParams.BuilderA builder for BetaManagedAgentsCustomToolParams.
-
-
Method Summary
-
-
Method Detail
-
description
final BetaManagedAgentsCustomToolParams.Builder description(String description)
Description of what the tool does, shown to the agent to help it decide when to use the tool. 1-1024 characters.
-
description
final BetaManagedAgentsCustomToolParams.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputSchema
final BetaManagedAgentsCustomToolParams.Builder inputSchema(BetaManagedAgentsCustomToolInputSchema inputSchema)
JSON Schema for custom tool input parameters.
-
inputSchema
final BetaManagedAgentsCustomToolParams.Builder inputSchema(JsonField<BetaManagedAgentsCustomToolInputSchema> inputSchema)
Sets Builder.inputSchema to an arbitrary JSON value.
You should usually call Builder.inputSchema with a well-typed BetaManagedAgentsCustomToolInputSchema value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaManagedAgentsCustomToolParams.Builder name(String name)
Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
-
name
final BetaManagedAgentsCustomToolParams.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsCustomToolParams.Builder type(BetaManagedAgentsCustomToolParams.Type type)
-
type
final BetaManagedAgentsCustomToolParams.Builder type(JsonField<BetaManagedAgentsCustomToolParams.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsCustomToolParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsCustomToolParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsCustomToolParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsCustomToolParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsCustomToolParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsCustomToolParams build()
Returns an immutable instance of BetaManagedAgentsCustomToolParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.description() .inputSchema() .name() .type()
-
-
-
-