Package com.embabel.agent.api.tool
Interface Tool.Definition
-
- All Implemented Interfaces:
public interface Tool.DefinitionFramework-agnostic tool definition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTool.Definition.Companion
-
Method Summary
Modifier and Type Method Description Tool.DefinitionwithParameter(Tool.Parameter parameter)abstract StringgetName()Unique name for the tool. abstract StringgetDescription()Description explaining what the tool does. abstract Tool.InputSchemagetInputSchema()Schema describing the input parameters. -
-
Method Detail
-
withParameter
Tool.Definition withParameter(Tool.Parameter parameter)
-
getDescription
abstract String getDescription()
Description explaining what the tool does. Critical for LLM to choose correctly.
-
getInputSchema
abstract Tool.InputSchema getInputSchema()
Schema describing the input parameters.
-
-
-
-