Interface LLMTool
public interface LLMTool
Represents a Tool for an LLM
-
Method Summary
Modifier and TypeMethodDescriptionReturns an description of what the tool is going to doexecute(LLMToolParams params) The tool to executename()The name of the tool to be executed
-
Method Details
-
name
String name()The name of the tool to be executed- Returns:
- The name of the tool
-
actionDescription
LLMToolDescription actionDescription()Returns an description of what the tool is going to do- Returns:
- The description shown to the user
-
execute
The tool to execute- Parameters:
params- The parameters of the tool- Returns:
- The tool response
-