populate_table
Insert tabular data from a nested array into an InDesign table, using table and page indices to target the location. Optionally treat the first row as headers.
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 |