Package dev.langchain4j.agent.tool
See: Description
-
Class Summary Class Description JsonSchemaProperty Represents a property in a JSON schema. Builder ToolParametersbuilder static inner class.ToolParameters Represents the parameters of a tool. Builder ToolExecutionRequestbuilder static inner class.ToolExecutionRequest Represents an LLM-generated request to execute a tool. Builder ToolSpecificationbuilder static inner class.ToolSpecification Describes a tool that language model can execute. ToolSpecifications Utility methods for ToolSpecifications. -
Annotation Summary Annotation Description P Parameter of a Tool Tool Java methods annotated with @Toolare considered tools/functions that language model can execute/call.ToolMemoryId If a Tool method parameter is annotated with this annotation, memory id (parameter annotated with @MemoryId in AI Service) will be injected automatically.