Interface ResourceProxy

All Superinterfaces:
Proxy
All Known Implementing Classes:
ResourceAcquirerProxy

public interface ResourceProxy extends Proxy
Proxies between MCP URIs and Camel components capable of handling them
  • Method Summary

    Modifier and Type
    Method
    Description
    List<io.quarkiverse.mcp.server.ResourceContents>
    eval(io.quarkiverse.mcp.server.ResourceManager.ResourceArguments arguments, ResourceReference mcpResource)
    Eval an MCP URI handling it as appropriate by the component (i.e.: read a file, GET a static web page, etc.)

    Methods inherited from interface ai.wanaku.routers.proxies.Proxy

    getServiceConfigurations, name
  • Method Details

    • eval

      List<io.quarkiverse.mcp.server.ResourceContents> eval(io.quarkiverse.mcp.server.ResourceManager.ResourceArguments arguments, ResourceReference mcpResource)
      Eval an MCP URI handling it as appropriate by the component (i.e.: read a file, GET a static web page, etc.)
      Parameters:
      arguments - the resource request arguments
      mcpResource - the resource to eval
      Returns:
      Returns the data read by the proxy.