manage_layers
Manage Illustrator layers by creating, activating, renaming, deleting, locking, unlocking, showing, or hiding them to control editability and visibility.
Instructions
Layers Panel Tool: Create, activate, rename, delete, lock, unlock, show, or hide Illustrator layers.
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": {
"action": "<action>",
"layerName": "<layerName>"
},
"name": "manage_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Layer operation to perform | |
| newName | No | New layer name when action is 'rename' | |
| layerName | Yes | Target layer name (or name for new layer) |