text_setColumns
Set the number of columns and gutter width for a text frame in an open InDesign document. Configure multi-column layouts by specifying page, frame, and count.
Instructions
Set column count and gutter for a text frame
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>",
"frameIndex": "<frameIndex>",
"count": "<count>"
},
"name": "text_setColumns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| gutter | No | ||
| pageIndex | Yes | ||
| frameIndex | 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. |