Package ai.wanaku.routers.proxies.tools
Class InvokerProxy
java.lang.Object
ai.wanaku.routers.proxies.tools.InvokerProxy
- All Implemented Interfaces:
Tool,Proxy,ToolsProxy
A proxy class for invoking tools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.quarkiverse.mcp.server.ToolResponsecall(io.quarkiverse.mcp.server.ToolManager.ToolArguments toolArguments, CallableReference toolReference) io.quarkiverse.mcp.server.ToolResponsecall(io.quarkiverse.mcp.server.ToolManager.ToolArguments toolArguments, ToolReference toolReference) getServiceConfigurations(String target) Retrieve tools configurations from the servicename()The name of the proxy
-
Constructor Details
-
InvokerProxy
-
-
Method Details
-
call
public io.quarkiverse.mcp.server.ToolResponse call(io.quarkiverse.mcp.server.ToolManager.ToolArguments toolArguments, CallableReference toolReference) -
call
public io.quarkiverse.mcp.server.ToolResponse call(io.quarkiverse.mcp.server.ToolManager.ToolArguments toolArguments, ToolReference toolReference) -
getServiceConfigurations
Description copied from interface:ToolsProxyRetrieve tools configurations from the service- Specified by:
getServiceConfigurationsin interfaceProxy- Specified by:
getServiceConfigurationsin interfaceToolsProxy- Parameters:
target- the target service to retrieve configurations from- Returns:
- A map of configurations and their descriptions
-
name
Description copied from interface:ProxyThe name of the proxy
-