Package dev.langchain4j.agent.tool


package dev.langchain4j.agent.tool
  • Class
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    please use the new JsonSchemaElement API instead to define the schema for tool parameters
    Parameter of a Tool
    Java methods annotated with @Tool are considered tools/functions that language model can execute/call.
    Represents an LLM-generated request to execute a tool.
    ToolExecutionRequest builder static inner class.
    If a Tool method parameter is annotated with this annotation, memory id (parameter annotated with @MemoryId in AI Service) will be injected automatically.
    Deprecated, for removal: This API element is subject to removal in a future version.
    please use the new JsonObjectSchema API instead to define the schema for tool parameters.
    ToolParameters builder static inner class.
    Describes a tool that language model can execute.
    ToolSpecification builder static inner class.
    Utility methods for ToolSpecifications.