indesign_uxp_create_text_frame
Creates a text frame on an identified page in a specified InDesign document using point-based bounds to place editable text at a known location.
Instructions
Creates a text frame on one explicitly identified page in one explicitly identified document through UXP. Coordinates are passed directly as point-valued [top, left, bottom, right] bounds and use InDesign's current ruler zero point; verify placement in InDesign because this UXP path has not been host-verified. After a timeout, the frame may still have been created; inspect before retrying and do not retry blindly.
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": {
"document_id": "<document_id>",
"page_id": "<page_id>",
"bounds_pt": "<bounds_pt>",
"text": "<text>"
},
"name": "indesign_uxp_create_text_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text content; maximum 50,000 characters | |
| page_id | Yes | Positive numeric Page.id from the inspection result | |
| bounds_pt | Yes | [top, left, bottom, right] in points, relative to InDesign's current ruler zero point | |
| timeout_ms | No | Optional wait in milliseconds; defaults to 30,000 and is limited to 1,000–120,000 | |
| document_id | Yes | Positive numeric Document.id from the inspection result |