preview_document
Render a page of the active InDesign document as PNG or JPEG to visually inspect layout, colors and typography.
Instructions
Render a page of the active document as an image (PNG or JPEG) so you can visually inspect layout, colors and typography
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": "preview_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | png | |
| pageIndex | No | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| documentIndex | No | ||
| resolutionPpi | No |