Interface LLMTool


public interface LLMTool
Represents a Tool for an LLM
  • Method Details

    • name

      String name()
      The name of the tool to be executed
      Returns:
      The name of the tool
    • actionDescription

      LLMToolDescription actionDescription()
      Returns an description of what the tool is going to do
      Returns:
      The description shown to the user
    • execute

      LLMToolResponse execute(LLMToolParams params)
      The tool to execute
      Parameters:
      params - The parameters of the tool
      Returns:
      The tool response