Prepare Enclosure
prepare_enclosurePrepare or revise an enclosure from KiCad PCB text or dimensions. Returns exact parameters, review revision, warnings and editable customer review URL. Uses a guest token but no quote allowance. No manufacturing or purchase occurs.
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": "prepare_enclosure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kicadPcb | No | KiCad 6–9 .kicad_pcb UTF-8 text. Sent to AIURION for parsing; raw PCB text is not stored in the draft or review link. Use parameters instead for dimensions. | |
| quantity | No | Number of complete sets to prepare or quote. | |
| parameters | No | Workbench geometry parameters. Use the returned normalized values for review and quoting. | |
| accessToken | No | Guest token returned by printing.sessions.start. Optional when Authorization already carries a permanent key or guest token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||