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

    Interface InsertCellMessage

    Insert cell into notebook (MCP tool support)

    interface InsertCellMessage {
        body: { cellType: "code" | "markdown"; index?: number; source: string };
        type: "insert-cell";
    }
    Index

    Properties

    Properties

    body: { cellType: "code" | "markdown"; index?: number; source: string }

    Cell insertion payload

    Type Declaration

    • cellType: "code" | "markdown"

      Type of cell to insert

    • Optionalindex?: number

      Index where to insert (defaults to end)

    • source: string

      Cell source content

    type: "insert-cell"

    Message type discriminator