create_table
Create a table on an InDesign page with configurable rows, columns, position, and header options.
Instructions
Create a table on the specified page (defaults to active page in InDesign UI)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rows": "<rows>",
"columns": "<columns>"
},
"name": "create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Number of rows | |
| columns | Yes | Number of columns | |
| x | No | X position in mm | |
| y | No | Y position in mm | |
| width | No | Table width in mm | |
| height | No | Table height in mm | |
| pageIndex | No | Page index (0-based). Omit to use the active page in InDesign. | |
| headerRows | No | Number of header rows | |
| headerColumns | No | Number of header columns |