Export board files
export_boardCreates a stable private download of a saved board as a manufacturing ZIP or editable .egb project backup. Pass the latest saved revision as expectedRevision. Use format egb directly for project backups, including empty or incomplete projects and unapplied geometry or electrical changes; no layout generation or check is required. Manufacturing ZIPs require a current saved layout with applied electrical requirements; generate and wait for completion when needed, then read the new revision. New exports require current board access. Issued download links have no automatic expiry and retain this exact export after board edits, deletion, guest claim or cleanup. Only explicit download-link revocation or deletion of the exported file ends access. Give the user the download link from url. If saveToAccount is present, offer its private preview link separately so the user can find the board in My Boards later. Saving is optional. Keep each complete link unchanged, including its fragment.
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": {
"expectedRevision": "<expectedRevision>",
"format": "<format>",
"boardRef": "<boardRef>"
},
"name": "export_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | manufacturing: ZIP with Gerber, drill, BOM and placement files. egb: editable EasyGerber board file. | |
| boardRef | Yes | Private board reference. For a new board generate 32 random bytes, encode as unpadded base64url, and prepend egbr1_. Keep this same value for creation retries and every later board operation. Copy returned references unchanged. Keep it in this conversation or supported private execution state; never put it in logs or source files. A private board link may carry it in its fragment. | |
| expectedRevision | Yes | Latest saved revision, from the last save or get_board. A mismatch returns revision_conflict; read the board again before exporting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |