Class ProtifyMCPClient

  • All Implemented Interfaces:
    MCPClient, java.lang.AutoCloseable

    public class ProtifyMCPClient
    extends java.lang.Object
    implements MCPClient
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String callTool​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.Object> arguments)  
      void close()  
      void connect()  
      boolean isConnected()  
      java.util.List<AITool> listTools()  
      • Methods inherited from class java.lang.Object

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

      • ProtifyMCPClient

        public ProtifyMCPClient​(MCPTransport transport)
    • Method Detail

      • connect

        public void connect()
        Specified by:
        connect in interface MCPClient
      • callTool

        public java.lang.String callTool​(java.lang.String name,
                                         java.util.Map<java.lang.String,​java.lang.Object> arguments)
        Specified by:
        callTool in interface MCPClient
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface MCPClient