place_image
Place an image in an InDesign document with specified position, dimensions, and fit options. Create a frame and adjust placement to page layout requirements.
Instructions
Place an image with advanced options
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": {
"imagePath": "<imagePath>"
},
"name": "place_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position in mm | |
| y | No | Y position in mm | |
| width | No | Width in mm (optional, maintains aspect ratio if not specified) | |
| height | No | Height in mm (optional, maintains aspect ratio if not specified) | |
| fitOption | No | PROPORTIONALLY | |
| imagePath | Yes | Path to the image file | |
| pageIndex | No | Page index | |
| createFrame | No | Create frame first |