Edit a table (FigJam)
figma_edit_tableModify a FigJam table: remove, insert, or move rows and columns, resize them, and set cell text, fill, and text colors in one ordered operation.
Instructions
Change a FigJam table's structure and cells. Cells have no ids: they are { row, column }, 0-based. Applied in this order, every index checked against the table's size before anything changes: removeRows / removeColumns (their content is lost), then insertRowsAt / insertColumnsAt (positions in the table after removals; each adds one before that index, the count appends), then moveRow / moveColumn { from, to }, then columnWidths / rowHeights [{ index, width | height }], then cells (up to 2000, in the final table): text, fill (table preset or hex; "" is refused — give "#FFFFFF" to reset), textColor. Removing every row or column is refused. Returns the new size and per-cell results. Editors: unverified in FigJam, Slides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cells | No | ||
| nodeId | Yes | The TABLE. | |
| moveRow | No | ||
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| moveColumn | No | ||
| removeRows | No | ||
| rowHeights | No | ||
| columnWidths | No | ||
| insertRowsAt | No | ||
| removeColumns | No | ||
| idempotencyKey | No | Caller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely. | |
| insertColumnsAt | No |