Class TurMcpToolCallbackService
java.lang.Object
com.viglet.turing.genai.tool.TurMcpToolCallbackService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()org.springframework.ai.tool.ToolCallback[]org.springframework.ai.tool.ToolCallback[]getToolCallbacks(Set<TurMcpServer> mcpServers) Get tool callbacks only for the specified MCP servers (filtered by agent configuration).
-
Constructor Details
-
TurMcpToolCallbackService
-
-
Method Details
-
getToolCallbacks
Get tool callbacks only for the specified MCP servers (filtered by agent configuration). -
getToolCallbacks
public org.springframework.ai.tool.ToolCallback[] getToolCallbacks() -
cleanup
@PreDestroy public void cleanup()
-