Interface ToolDefinition
-
- All Implemented Interfaces:
public interface ToolDefinitionDefinition of a tool
-
-
Method Summary
Modifier and Type Method Description StringgetId()Tool id, default to tool's name abstract StringgetName()Tool name abstract StringgetDescription()Tool description StringgetParametersSchema()JSON schema of tool's parameters StringgetReturnTypeSchema()JSON schema of tool's return type StringgetExamples()Examples to call this tool -
-
Method Detail
-
getDescription
abstract String getDescription()
Tool description
- Returns:
tool description
-
getParametersSchema
String getParametersSchema()
JSON schema of tool's parameters
- Returns:
Parameters schema
-
getReturnTypeSchema
String getReturnTypeSchema()
JSON schema of tool's return type
- Returns:
Return type schema
-
getExamples
String getExamples()
Examples to call this tool
- Returns:
Examples
-
-
-
-