Interface ToolDefinition

All Known Implementing Classes:
DefaultToolDefinition

public interface ToolDefinition
Definition used by the AI model to determine when and how to call the tool.
Since:
1.0.0
Author:
Thomas Vitale
  • Method Details

    • name

      String name()
      The tool name. Unique within the tool set provided to a model.
    • description

      String description()
      The tool description, used by the AI model to determine what the tool does.
    • inputSchema

      String inputSchema()
      The schema of the parameters used to call the tool.
    • builder

      Create a default ToolDefinition builder.