get_layers
Retrieve all layer definitions and the active layer index from an open LightBurn project, optionally filtering to layers that contain shapes.
Instructions
Requires capability "project". All 32 layer definitions (index, name, color as #RRGGBB, type, hidden, in_use, shape_count) and the active layer index. By default only layers in use are returned.
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": "get_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in_use_only | No | Return only layers that have shapes (default true). |