set_frame_text
Update text in an InDesign frame by replacing, appending, or prepending content. Specify page and frame index for precise placement.
Instructions
Sets or appends text in a specific 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": {
"text": "<text>"
},
"name": "set_frame_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Insertion mode | replace |
| page | No | Page number | |
| text | Yes | Text to insert | |
| frameIndex | No | Frame index on the page |