get_layers
Retrieve a list of all PCB layers including their ID, name, type, visibility, and enabled status. Useful for inspecting layer configuration in KiCad boards.
Instructions
List all PCB layers with their properties.
Returns: List of layer objects with id, name, type, visible, enabled.
Example: >>> get_layers() [{"id": 0, "name": "Copper", "type": "signal", "visible": True, "enabled": True}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |