populate_table
Fills an existing InDesign table with an array of row data, optionally treating the first row as headers, using page and table indexes to target the correct table.
Instructions
Populate table with data
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": {
"tableIndex": "<tableIndex>",
"data": "<data>"
},
"name": "populate_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Array of arrays with table data | |
| pageIndex | No | Page index | |
| tableIndex | Yes | Table index on page | |
| includeHeaders | No | First row contains headers |