Datalayer VS Code Extension - v0.0.4
    Preparing search index...

    Tool for creating Jupyter notebooks in the CLOUD (Datalayer spaces). Implements VS Code's LanguageModelTool interface for Copilot integration.

    IMPORTANT: Use this tool ONLY when user explicitly says "remote" or "cloud" or "Datalayer space". Do NOT use this for general notebook creation - use CreateDatalayerLocalNotebookTool for local notebooks.

    Key behavior:

    • Creates notebook in CLOUD (Datalayer platform, not local disk)
    • Requires authentication
    • Opens with Datalayer custom editor
    • Uses default (Personal) space if not specified
    • Syncs across devices

    Copilot will intelligently:

    • Extract notebook_name from user's request (e.g., "data analysis" → "data-analysis.ipynb")
    • Generate description from context (e.g., "for analyzing sales data")
    • Default to "Personal" space if space_name not specified

    Implements

    • LanguageModelTool<ICreateDatalayerRemoteNotebookParameters>
    Index

    Constructors

    Methods

    • Executes the tool - creates a remote notebook in the specified Datalayer space. Returns the notebook URI for opening in the editor.

      Parameters

      • options: LanguageModelToolInvocationOptions<ICreateDatalayerRemoteNotebookParameters>
      • _token: CancellationToken

      Returns Promise<LanguageModelToolResult>

    • Prepares the tool invocation with user-facing messages. Called before the tool executes to show confirmation dialog.

      Parameters

      • options: LanguageModelToolInvocationPrepareOptions<
            ICreateDatalayerRemoteNotebookParameters,
        >
      • _token: CancellationToken

      Returns Promise<
          {
              confirmationMessages: { message: MarkdownString; title: string };
              invocationMessage: string;
          },
      >