document_getInfo
Inspect active InDesign document setup: retrieve page count, dimensions, and margins by name or index, defaulting to the front document.
Instructions
Get detailed information about the active document including page count, dimensions, and margins
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": "document_getInfo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |