text_getTextFrames
List all text frames on a given InDesign page to inspect text layout content; set an optional timeout for large documents.
Instructions
List all text frames on a page with optional timeout
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": {
"pageIndex": "<pageIndex>"
},
"name": "text_getTextFrames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Custom timeout in ms for large documents | |
| pageIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| includeControlChars | No | Include BOM and control characters in content preview |