Uses of Class
dev.langchain4j.agent.tool.ToolSpecification
Packages that use ToolSpecification
Package
Description
-
Uses of ToolSpecification in dev.langchain4j.agent.tool
Methods in dev.langchain4j.agent.tool that return ToolSpecificationModifier and TypeMethodDescriptionToolSpecification.Builder.build()
Returns aToolSpecification
built from the parameters previously set.static ToolSpecification
ToolSpecifications.toolSpecificationFrom
(Method method) Returns theToolSpecification
for the given method annotated with @Tool
.Methods in dev.langchain4j.agent.tool that return types with arguments of type ToolSpecificationModifier and TypeMethodDescriptionstatic List
<ToolSpecification> ToolSpecifications.toolSpecificationsFrom
(Class<?> classWithTools) ReturnsToolSpecification
s for all methods annotated with @Tool
within the specified class.static List
<ToolSpecification> ToolSpecifications.toolSpecificationsFrom
(Object objectWithTools) ReturnsToolSpecification
s for all methods annotated with @Tool
within the class of the specified object.Method parameters in dev.langchain4j.agent.tool with type arguments of type ToolSpecificationModifier and TypeMethodDescriptionstatic void
ToolSpecifications.validateSpecifications
(List<ToolSpecification> toolSpecifications) Validates all theToolSpecification
s. -
Uses of ToolSpecification in dev.langchain4j.internal
Method parameters in dev.langchain4j.internal with type arguments of type ToolSpecificationModifier and TypeMethodDescriptionstatic void
ChatRequestValidationUtils.validate
(List<ToolSpecification> toolSpecifications) -
Uses of ToolSpecification in dev.langchain4j.model.chat.request
Methods in dev.langchain4j.model.chat.request that return types with arguments of type ToolSpecificationModifier and TypeMethodDescriptionChatRequest.toolSpecifications()
ChatRequestParameters.toolSpecifications()
DefaultChatRequestParameters.toolSpecifications()
Methods in dev.langchain4j.model.chat.request with parameters of type ToolSpecificationModifier and TypeMethodDescriptionChatRequest.Builder.toolSpecifications
(ToolSpecification... toolSpecifications) DefaultChatRequestParameters.Builder.toolSpecifications
(ToolSpecification... toolSpecifications) Method parameters in dev.langchain4j.model.chat.request with type arguments of type ToolSpecificationModifier and TypeMethodDescriptionChatRequest.Builder.toolSpecifications
(List<ToolSpecification> toolSpecifications) DefaultChatRequestParameters.Builder.toolSpecifications
(List<ToolSpecification> toolSpecifications)