edit_text_frame
Modify an existing InDesign text frame by updating content, font, size, alignment, or color. Specify the frame index to target changes.
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 |
|---|---|---|---|
| content | No | New text content | |
| fontName | No | Font name | |
| fontSize | No | Font size in points | |
| alignment | No | ||
| textColor | No | Text color (RGB hex or name) | |
| frameIndex | Yes | Index of the text frame to edit |