Interface Tool

All Known Implementing Classes:
AddArrayMemory, AddMemoryFunction, FunctionTool, GetArrayedMemories, GetArrayMemory, GetMemoriesFunction, GetMemoryFunction, GetMemoryIdentitiesFunction, ReadFileTool, RemoveMemoryFunction, WriteFileTool

public interface Tool
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<Tool>
     
    @NotNull String
    The name of the tool, as sent to the model.
    renderCalling(org.json.JSONObject calling)
     
  • Method Details

    • emptyTools

      static List<Tool> emptyTools()
    • name

      @NotNull @NotNull String name()
      The name of the tool, as sent to the model. Used to route an incoming tool call back to this tool.
      Returns:
      the tool's name
    • renderCalling

      default ToolCallingRender renderCalling(org.json.JSONObject calling)