Class LlmConversationBuilder.ToolDef

java.lang.Object
com.pnfsoftware.jeb.util.llm.LlmConversationBuilder.ToolDef
Enclosing class:
LlmConversationBuilder

public static class LlmConversationBuilder.ToolDef extends Object
Definition of a tool that may be made available to an LLM.
  • Field Details

    • name

      public String name
      Tool name exposed to the model.
    • description

      public String description
      Tool description exposed to the model.
    • input_schema

      public Object input_schema
      Tool input schema in the format expected by the selected provider.
  • Constructor Details

    • ToolDef

      public ToolDef(String name, String description, Object input_schema)
      Create a tool definition.
      Parameters:
      name - tool name exposed to the model
      description - tool description exposed to the model
      input_schema - tool input schema