indesign_uxp_inspect_document
Inspects an InDesign document via the loaded UXP panel and returns metadata, page details, locked/overflow text-frame states, and DOM IDs. Omit document_id to inspect the active document.
Instructions
Reads document metadata, pages, and text-frame metadata (including locked and overflow states) through the loaded UXP panel. Omitting document_id inspects the active document. Returns DOM IDs for explicit later frame operations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "indesign_uxp_inspect_document"
}
}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 | No | Optional positive numeric Document.id; omit to inspect the active document |