transform_rotate
Rotate a chosen InDesign object by a specified angle, targeting a document, page, item, and optional layer.
Instructions
Rotate an object by a specified angle
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>",
"angle": "<angle>"
},
"name": "transform_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | ||
| itemIndex | Yes | ||
| pageIndex | Yes | ||
| layerIndex | No | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |