Interface ToolsResolver
- All Superinterfaces:
Resolver
- All Known Implementing Classes:
NoopToolsResolver
A resolver that consumes MCP requests and resolves what type of tool
should handle it
-
Method Summary
Modifier and TypeMethodDescriptionresolve(ToolReference toolReference) Given a reference, resolves what tool would call it
-
Method Details
-
resolve
Given a reference, resolves what tool would call it- Parameters:
toolReference- the reference to the tool- Returns:
- An instance of the requested tool
- Throws:
ToolNotFoundException- if the tools cannot be found
-