Interface MCPServer

interface MCPServer {
    callTool(toolName, arg_string): Promise<objectOutputType<extendShape<{}, {}>, ZodTypeAny, "passthrough"> | objectOutputType<extendShape<{}, {}>, ZodTypeAny, "passthrough">>;
    getTools(): Promise<objectOutputType<extendShape<extendShape<{}, {}>, {}>, ZodTypeAny, "passthrough">>;
}

Methods

  • Parameters

    • toolName: string
    • arg_string: string

    Returns Promise<objectOutputType<extendShape<{}, {}>, ZodTypeAny, "passthrough"> | objectOutputType<extendShape<{}, {}>, ZodTypeAny, "passthrough">>

  • Returns Promise<objectOutputType<extendShape<extendShape<{}, {}>, {}>, ZodTypeAny, "passthrough">>