List PCB layers
get_pcb_layersRetrieve electrical and mechanical layer metadata from the active PCB to review layer stack or export layer names and IDs.
Instructions
Purpose: List electrical and mechanical layer metadata for the active PCB.
When to use: Layer stack review, export layer names/ids.
Parameters: None.
Returns: Bridge-specific JSON (layer names, kinds, etc.).
Prerequisites: Correct .PcbDoc open and active (focused) in Altium.
Errors: Empty or partial data if no board focused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||