create_table
Creates a FigJam table from a 2D array of cell strings, with optional rows, columns, font size, header fill, and per-cell error reporting.
Instructions
Create a FigJam table (FigJam only). rows/columns default to the size of cells (or 2x2). cells is a 2D array of strings [row][column]; fonts are loaded automatically. Per-cell failures are reported in errors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| name | No | ||
| rows | No | ||
| cells | No | ||
| columns | No | ||
| fontSize | No | ||
| parentId | No | ||
| headerFill | No | Hex fill for the first row |