edit_text_frame
Update an existing text frame's content, font, size, color, and alignment in InDesign.
Instructions
Edit an existing 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": {
"frameIndex": "<frameIndex>"
},
"name": "edit_text_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frameIndex | Yes | Index of the text frame to edit | |
| content | No | New text content | |
| fontSize | No | Font size in points | |
| fontName | No | Font name | |
| textColor | No | Text color (RGB hex or name) | |
| alignment | No |