Uses of Class
dev.langchain4j.agent.tool.ToolSpecification.Builder
-
Uses of ToolSpecification.Builder in dev.langchain4j.agent.tool
Modifier and TypeMethodDescriptionToolSpecification.Builder.addOptionalParameter
(String name, JsonSchemaProperty... jsonSchemaProperties) Deprecated, for removal: This API element is subject to removal in a future version.ToolSpecification.Builder.addOptionalParameter
(String name, Iterable<JsonSchemaProperty> jsonSchemaProperties) Deprecated, for removal: This API element is subject to removal in a future version.please useparameters(JsonObjectSchema)
instead.ToolSpecification.Builder.addParameter
(String name, JsonSchemaProperty... jsonSchemaProperties) Deprecated, for removal: This API element is subject to removal in a future version.please useparameters(JsonObjectSchema)
instead.ToolSpecification.Builder.addParameter
(String name, Iterable<JsonSchemaProperty> jsonSchemaProperties) Deprecated, for removal: This API element is subject to removal in a future version.please useparameters(JsonObjectSchema)
instead.static ToolSpecification.Builder
ToolSpecification.builder()
Creates builder to buildToolSpecification
.ToolSpecification.Builder.description
(String description) Sets thedescription
.Sets thename
.ToolSpecification.Builder.parameters
(ToolParameters parameters) Deprecated, for removal: This API element is subject to removal in a future version.please useparameters(JsonObjectSchema)
instead.ToolSpecification.Builder.parameters
(JsonObjectSchema parameters) Sets theparameters
.
parameters(JsonObjectSchema)
instead.