set_active_layer
Sets the active layer by name, ensuring subsequent InDesign layout and object operations apply to the intended layer.
Instructions
Set the active layer
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layerName": "<layerName>"
},
"name": "set_active_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerName | Yes | Layer name to activate |