Package dev.langchain4j.agent.tool
See: Description
-
Class Summary Class Description JsonSchemaProperty Represents a property in a JSON schema. ToolSpecifications Utility methods for ToolSpecifications. Builder ToolSpecificationbuilder static inner class.ToolSpecification Describes a tool that language model can execute. 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. -
Annotation Summary Annotation Description ToolMemoryId If a Tool method parameter is annotated with this annotation, memory id (parameter annotated with @MemoryId in AI Service) will be injected automatically. Tool Java methods annotated with @Toolare considered tools/functions that language model can execute/call.P Parameter of a Tool