Package ai.wanaku.routers.proxies
Interface ResourceProxy
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
ResourceAcquirerProxy
Proxies between MCP URIs and Camel components capable of handling them
-
Method Summary
Modifier and TypeMethodDescriptionList<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 argumentsmcpResource- the resource to eval- Returns:
- Returns the data read by the proxy.
-