create_document
Create new InDesign documents with advanced options: set preset, dimensions, orientation, margins, bleed, and slug. Enables automated publishing workflow.
Instructions
Create a new InDesign document with advanced options
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": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Slug area in mm | |
| bleed | No | Bleed in mm | |
| pages | No | Number of pages | |
| width | No | Document width in mm (for custom preset) | |
| height | No | Document height in mm (for custom preset) | |
| preset | No | Document preset (A4, A5, Letter, Custom, etc.) | A4 |
| marginTop | No | Top margin in mm | |
| marginLeft | No | Left margin in mm | |
| facingPages | No | Enable facing pages | |
| marginRight | No | Right margin in mm | |
| orientation | No | Portrait | |
| marginBottom | No | Bottom margin in mm |