set_active_layer
Set the active layer in an Adobe InDesign document by providing its name, ensuring subsequent 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 |