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.
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_pcb_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||