Class InvokerProxy

java.lang.Object
ai.wanaku.routers.proxies.tools.InvokerProxy
All Implemented Interfaces:
Tool, Proxy, ToolsProxy

public class InvokerProxy extends Object implements ToolsProxy
A proxy class for invoking tools
  • Constructor Details

  • Method Details

    • call

      public io.quarkiverse.mcp.server.ToolResponse call(io.quarkiverse.mcp.server.ToolManager.ToolArguments toolArguments, CallableReference toolReference)
      Specified by:
      call in interface Tool
    • call

      public io.quarkiverse.mcp.server.ToolResponse call(io.quarkiverse.mcp.server.ToolManager.ToolArguments toolArguments, ToolReference toolReference)
    • getServiceConfigurations

      public Map<String,String> getServiceConfigurations(String target)
      Description copied from interface: ToolsProxy
      Retrieve tools configurations from the service
      Specified by:
      getServiceConfigurations in interface Proxy
      Specified by:
      getServiceConfigurations in interface ToolsProxy
      Parameters:
      target - the target service to retrieve configurations from
      Returns:
      A map of configurations and their descriptions
    • name

      public String name()
      Description copied from interface: Proxy
      The name of the proxy
      Specified by:
      name in interface Proxy
      Returns:
      the name of the proxy