indesign_uxp_read_text_frame
Reads the text content of a specific InDesign text frame by document and text frame IDs, returning up to 50,000 characters and flagging truncated results.
Instructions
Reads the text in one explicitly identified text frame through UXP. Use IDs returned by indesign_uxp_inspect_document; text is capped at 50,000 characters and may be marked truncated.
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": {
"document_id": "<document_id>",
"text_frame_id": "<text_frame_id>"
},
"name": "indesign_uxp_read_text_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_ms | No | Optional wait in milliseconds; defaults to 30,000 and is limited to 1,000–120,000 | |
| document_id | Yes | Positive numeric Document.id from the inspection result | |
| text_frame_id | Yes | Positive numeric TextFrame.id from the inspection result |