table_setHeaderFooter
Set header and footer row counts for an InDesign table, with optional header repetition across pages.
Instructions
Set header and footer row counts
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": {
"pageIndex": "<pageIndex>",
"tableIndex": "<tableIndex>"
},
"name": "table_setHeaderFooter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIndex | Yes | ||
| footerRows | No | ||
| headerRows | No | ||
| tableIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| repeatHeader | No |