anchoredObject_create
Create an anchored object at a story insertion point or attach it to a text frame in Adobe InDesign.
Instructions
Create an anchored object at an insertion point or attach to 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": {
"storyIndex": "<storyIndex>",
"insertionIndex": "<insertionIndex>",
"contentType": "<contentType>",
"width": "<width>",
"height": "<height>"
},
"name": "anchoredObject_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| xOffset | No | ||
| yOffset | No | ||
| spaceAbove | No | ||
| storyIndex | Yes | ||
| anchorPoint | No | topLeft | |
| contentType | 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. | |
| insertionIndex | Yes | ||
| anchoredPosition | No | custom |