类 ToolExecutionRequest

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

public class ToolExecutionRequest extends Object
Represents an LLM-generated request to execute a tool.
  • 方法详细资料

    • id

      public String id()
      Returns the id of the tool.
      返回:
      the id of the tool.
    • name

      public String name()
      Returns the name of the tool.
      返回:
      the name of the tool.
    • arguments

      public String arguments()
      Returns the arguments of the tool.
      返回:
      the arguments 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 ToolExecutionRequest.Builder builder()
      Creates builder to build ToolExecutionRequest.
      返回:
      created builder