validate_project
Opens a LibrePCB project in strict mode and runs ERC plus DRC on all boards to catch parse errors, broken references, and design-rule violations.
Instructions
Open the project with librepcb-cli in strict mode (parse errors, broken references, non-canonical files) and run ERC plus DRC on all boards.
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": {
"project_path": "<project_path>"
},
"name": "validate_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to the project's *.lpp file or its directory |