table_mergeCells
Merge a range of cells in an InDesign table into one cell by specifying start and end row and column indices.
Instructions
Merge a range of cells into one
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>",
"startRow": "<startRow>",
"startColumn": "<startColumn>",
"endRow": "<endRow>",
"endColumn": "<endColumn>"
},
"name": "table_mergeCells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endRow | Yes | ||
| startRow | Yes | ||
| endColumn | Yes | ||
| pageIndex | Yes | ||
| 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. | |
| startColumn | Yes |