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 aToolSpecificationbuilt from the parameters previously set.static ToolSpecificationToolSpecifications.toolSpecificationFrom(Method method) Returns theToolSpecificationfor 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) ReturnsToolSpecifications for all methods annotated with @Toolwithin the specified class.static List<ToolSpecification> ToolSpecifications.toolSpecificationsFrom(Object objectWithTools) ReturnsToolSpecifications for all methods annotated with @Toolwithin the class of the specified object.Method parameters in dev.langchain4j.agent.tool with type arguments of type ToolSpecificationModifier and TypeMethodDescriptionstatic voidToolSpecifications.validateSpecifications(List<ToolSpecification> toolSpecifications) Validates all theToolSpecifications. -
Uses of ToolSpecification in dev.langchain4j.internal
Method parameters in dev.langchain4j.internal with type arguments of type ToolSpecificationModifier and TypeMethodDescriptionstatic voidChatRequestValidationUtils.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)