clyops Node API
    Preparing search index...

    Function createApi

    • Build the Express app. With watch, the tool endpoints, the OpenAPI document and /mcp follow the tools directory as it changes; otherwise they are fixed when the app is built.

      Parameters

      Returns Promise<
          {
              app: Express;
              close: () => void | undefined;
              current: () => { tools: ApiTool[]; tree: Group };
              queue: JobQueue<ApiResult>;
          },
      >