Class CallCommand

java.lang.Object
com.shaft.commandline.command.CallCommand
All Implemented Interfaces:
Callable<Integer>

public final class CallCommand extends Object implements Callable<Integer>
Generic invocation of any shaft-mcp tool by name. This is the parity surface: every one of the server's tools is reachable here without a dedicated CLI command.
  • Constructor Details

    • CallCommand

      public CallCommand()
      Uses the real connection factory.
    • CallCommand

      public CallCommand(McpConnector factory)
      Parameters:
      factory - the connection provider
  • Method Details