create_project
Creates a new empty LibrePCB 2.x project with a Main schematic and optional rectangular board, then verifies it using librepcb-cli.
Instructions
Create a new, empty LibrePCB 2.x project (schematic 'Main', optional board with a rectangular outline). The result is verified by opening it with librepcb-cli.
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": {
"directory": "<directory>",
"name": "<name>"
},
"name": "create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Project name | |
| author | No | Author metadata | |
| directory | Yes | New (or empty) directory inside a configured root | |
| with_board | No | Also create board 'default' | |
| board_width_mm | No | ||
| board_height_mm | No |