Class NoopToolsResolver
java.lang.Object
ai.wanaku.core.mcp.common.resolvers.util.NoopToolsResolver
- All Implemented Interfaces:
Resolver,ToolsResolver
A resolver that does not to anything (mostly used for testing)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(ToolReference toolReference) Given a reference, resolves what tool would call it
-
Constructor Details
-
NoopToolsResolver
public NoopToolsResolver()
-
-
Method Details
-
resolve
Description copied from interface:ToolsResolverGiven a reference, resolves what tool would call it- Specified by:
resolvein interfaceToolsResolver- Parameters:
toolReference- the reference to the tool- Returns:
- An instance of the requested tool
- Throws:
ToolNotFoundException- if the tools cannot be found
-