easygerber7.57 KB
View saved version →
---
name: easygerber
description: Create, inspect, revise, export, or explicitly delete EasyGerber circuit boards, or submit user-requested EasyGerber feedback, using its remote MCP tools. Use for EasyGerber board work, bug reports, and feature requests; ordinary firmware-only edits do not require this skill.
---
# EasyGerber board design
Use the installed EasyGerber MCP tools and their current schemas. Hosts may prefix tool names differently. If the connection is missing, direct the user to https://easygerber.com/agents. Never ask for credentials in chat or read them from project files.
Follow [the workflow reference](references/workflow.md) for the thin schematic format, placement, physical settings, recovery, and permission details.
## Create and continue a board
1. Read only the relevant requirements and firmware to identify signals, power, and connectors. Send the minimum needed board data. Clarify electrical choices that cannot be inferred.
2. Search published parts with `search_parts`, supplying known filters and electrical requirements. Public browsing needs no account or board. Reuse a qualified candidate's returned ID, facts and verified pins. Check another candidate on mismatch. Resolve unknowns against the exact part’s datasheet and operating conditions. Only the first candidate includes pins when available. Call `get_part` on the selected ID for missing pins or facts. Preserve catalog IDs, pin identities, footprints, and available 3D models. For an existing board's strict Part List, retain its `boardRef` on every catalog call.
3. For a new board, generate one private `boardRef`: `egbr1_` followed by 32 cryptographically random bytes encoded as unpadded base64url (43 characters after the prefix). Call `create_board` with that reference, a fresh UUID `requestId`, a name, the complete thin intent, and `boardEdits` that size the board and position every part. EGT-2 Vela routes copper between your placements. The service uses the valid connected account or establishes private access automatically. No guest setup or account-mode choice is needed. Leave other settings at their defaults and use only requested app-visible customizations. Preserve catalog parts and hidden routing and manufacturing constraints.
4. Choose each printed label’s position. Label new parts where space permits, prioritizing connectors, ICs, switches and other serviceable parts on crowded boards. Honor requests for all, none or selected labels. Report nonblocking `placementIssues` from saves, checks or exports. Correct warnings only at the user’s request, moving labels or parts as needed.
5. A save routes and checks the board when needed. Read its `revision`, `layout.current` and `validation`. If it returns `pollAfterSeconds`, follow `generation.id` with `get_generation` at that interval (use `boardRef` alone if the ID was lost). Stop at completed, failed or cancelled. On completion check `boardRevision` with `check_board_layout`. Use `generate_layout` for a requested upgrade when `get_board` reports `layout.upgradeAvailable`, to retry a failed or cancelled job, or when a save reports `layoutNotStarted`.
6. Return the board link and requested artifacts. When a guest creation or export returns `saveToAccount`, present its `label` and complete `url` beside the board name or download so the user can find the board again in My Boards. If the user declines, continue the guest workflow. Check for blocking issues in the saved board's `validation`; when it is null on a current layout, run `check_board_layout` first. For an editable `.egb` backup, export the valid saved project directly, even if layout is missing, incomplete, or stale; do not generate or check a layout solely for that backup.
To undo an edit, call `update_board` with a fresh UUID `requestId`, the current revision as `expectedRevision`, and `restoreRevision` set to the `expectedRevision` of the edit being undone, with no other change. Every edit keeps the board as it was, for its most r
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.