Class TurToolDescriptionService
java.lang.Object
com.viglet.turing.genai.tool.TurToolDescriptionService
Loads tool descriptions from
classpath:prompts/tools/**/*.md files.
Files are organized in subdirectories per tool service
(e.g., prompts/tools/finance/get_stock_quote.md).
The filename (without .md) must match the @Tool(name) value.
Content replaces the @Tool(description) at runtime via
TurToolDescriptionCallback.
- Since:
- 2026.1.14
- Author:
- Alexandre Oliveira
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescription(String toolName) Returns the .md description for the given tool name, ornullif no override exists.booleanhasDescription(String toolName)
-
Constructor Details
-
TurToolDescriptionService
public TurToolDescriptionService()
-
-
Method Details
-
getDescription
-
hasDescription
-