java.lang.Object
ai.wanaku.core.exchange.v1.ToolInvokerGrpc.ToolInvokerImplBase
ai.wanaku.capabilities.sdk.runtime.camel.grpc.CamelTool
All Implemented Interfaces:
ai.wanaku.core.exchange.v1.ToolInvokerGrpc.AsyncService, io.grpc.BindableService

public class CamelTool extends ai.wanaku.core.exchange.v1.ToolInvokerGrpc.ToolInvokerImplBase
  • Constructor Summary

    Constructors
    Constructor
    Description
    CamelTool(org.apache.camel.CamelContext camelContext, McpSpec spec)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getTools(McpSpec mcpSpec)
     
    void
    invokeTool(ai.wanaku.core.exchange.v1.ToolInvokeRequest request, io.grpc.stub.StreamObserver<ai.wanaku.core.exchange.v1.ToolInvokeReply> responseObserver)
     

    Methods inherited from class ai.wanaku.core.exchange.v1.ToolInvokerGrpc.ToolInvokerImplBase

    bindService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CamelTool

      public CamelTool(org.apache.camel.CamelContext camelContext, McpSpec spec)
  • Method Details

    • getTools

      public Map<String,Definition> getTools(McpSpec mcpSpec)
    • invokeTool

      public void invokeTool(ai.wanaku.core.exchange.v1.ToolInvokeRequest request, io.grpc.stub.StreamObserver<ai.wanaku.core.exchange.v1.ToolInvokeReply> responseObserver)