create_pcb_document
Creates a new DipTrace PCB XML document with outline, layers, stackup, and rules, enabling a fresh board design without an existing file.
Instructions
Create a new DipTrace PCB XML document (outline, layers, stackup, rules).
This is synthetic MCP-generated content. It has the correct XML structure but has NOT been verified by DipTrace open/save. Use create_document_from_seed with a real DipTrace export when DipTrace compatibility is required. Replacing an existing target requires its current SHA. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.
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": {
"path": "<path>"
},
"name": "create_pcb_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb | No | ||
| path | Yes | ||
| units | No | mm | |
| overwrite | No | ||
| format_version | No | Literal XML Version attribute for the synthetic document. This does not convert the scaffold structure or assert compatibility with that DipTrace version. | 4.3.0.3 |
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||