pcb_parse_layout
Parse PCB layout files (KiCad, ODB++, Gerber, Altium, IPC-2581) and return a session ID for follow-up queries. Reuse an existing session to preserve playbook state during professional reviews.
Instructions
Parse a PCB layout file (KiCad, ODB++, Gerber, Altium, IPC-2581). Returns session_id for subsequent queries. If a session_id from pcb_start_professional_review is supplied, parsed data is written into that existing session (preserves playbook state).
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": {
"file_path": "<file_path>"
},
"name": "pcb_parse_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Force format: kicad, odb, gerber, altium, ipc2581 | |
| file_path | Yes | Path to PCB file | |
| session_id | No | Optional. Reuse an existing session (e.g. returned by pcb_start_professional_review) instead of creating a new one. Preserves review_context and playbook state. |