edit_text_frame
Edit an existing text frame's content, font size, family, color, and alignment by specifying its frame index. Find the index using list_text_frames or get_selected_objects first.
Instructions
Edit properties of an existing text frame. WORKFLOW: First use list_text_frames() or get_selected_objects() to find the correct frameIndex.
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": {
"frameIndex": "<frameIndex>"
},
"name": "edit_text_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | New text content | |
| fontSize | No | Font size in points | |
| alignment | No | ||
| pageIndex | No | Page index | |
| textColor | No | Text color | |
| fontFamily | No | Font family name | |
| frameIndex | Yes | Zero-based text frame index from list_text_frames() output. Example: Frame 0 = frameIndex: 0 |