类 ToolParameters

java.lang.Object
dev.langchain4j.agent.tool.ToolParameters

public class ToolParameters extends Object
Represents the parameters of a tool.
  • 方法详细资料

    • type

      public String type()
      Returns the type of the tool.
      返回:
      the type of the tool.
    • properties

      public Map<String,Map<String,Object>> properties()
      Returns the properties of the tool.
      返回:
      the properties of the tool.
    • required

      public List<String> required()
      Returns the required properties of the tool.
      返回:
      the required properties of the tool.
    • equals

      public boolean equals(Object another)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • builder

      public static ToolParameters.Builder builder()
      ToolParameters builder static inner class.
      返回:
      a ToolParameters.Builder.