text_setAutoSize
Set a text frame's auto-sizing behavior to off, height only, or width and height by page and frame index, optionally with a reference point.
Instructions
Set auto-sizing type for 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": {
"pageIndex": "<pageIndex>",
"frameIndex": "<frameIndex>",
"autoSizingType": "<autoSizingType>"
},
"name": "text_setAutoSize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIndex | Yes | ||
| frameIndex | 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. | |
| autoSizingType | Yes | ||
| referencePoint | No |