layer_create
Create a new layer in the active InDesign document, with options for name, visibility, locking, printability, and guide layer status.
Instructions
Create a new layer in the active document
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": "layer_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Layer | |
| locked | No | ||
| visible | No | ||
| printable | No | ||
| guideLayer | 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. |