transform_flip
Flip an InDesign object horizontally or vertically by specifying its page and item index to adjust orientation or mirror layouts.
Instructions
Flip an object horizontally or vertically
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>",
"itemIndex": "<itemIndex>",
"axis": "<axis>"
},
"name": "transform_flip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | ||
| itemIndex | Yes | ||
| pageIndex | 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. |