EasyGerber: AI PCB design, layout, and routing

v0.1.1
io.github.EasyGerber/easygerber Checked 2 days ago Published 1 month ago

AI PCB design, layout, and routing

A 88/100 Discovery passed License not confirmed SearchDesign

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

submit_feedback Submit EasyGerber feedback

Send a bug report, feature request, or general feedback when the user asks or agrees to send it. Send only their approved message. Keep private board content, links, credentials, transcripts, and raw diagnostics out of the report. Feedback can be anonymous. If delivery is uncertain, retry with the same requestId, category, message, and account or guest identity. Return the submission receipt.

ParameterTypeDescription
category *stringbug reports a problem; feature_request proposes a change; general shares other EasyGerber feedback.
message *stringUser-approved feedback, 10–2000 Unicode characters after trimming. Include only what the user agreed to send; do not automatically include private board content, credentials, transcripts or diagnost…
requestId *stringGenerate one UUID per report. If delivery is uncertain, retry with the same UUID, category, message and attribution (same account, same guest session or anonymous).
guestTokenstringOptional existing guest-session capability for attribution when no account is connected. Omit for anonymous or account feedback; never start a session solely to submit feedback or print this token. In…

get_profile Get EasyGerber profile

Read the connected account’s user ID, username, and display name when identity matters. Public part searches and new private boards can start directly.

list_organizations List organizations

Find an organization by name or handle in the connected account’s memberships. Pass its organizationId to list_boards or create_board for work in that organization.

search_parts Search published parts

Find published components by category, package, value, or MPN. Put supported electrical bounds and test conditions in requirements. Search returns up to three candidates by default. If the list reaches limit and none qualifies, increase limit up to 20 while keeping the requirements. Reuse a qualified candidate’s id. For a mismatch, check the next candidate. For an unknown rating, verify the exact part’s datasheet or report the unresolved requirement. The first candidate includes pins when available. Use get_part if the selected result lacks needed pins, geometry, or facts. Include boardRef…

ParameterTypeDescription
boardRefstringPrivate 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 ret…
candidateIdsarrayCheck only these previously returned catalog IDs, within all supplied filters and the active Part List.
capacitancenumberExact farads (1e-7 = 100 nF).
categorystringCatalog category.
factQuerystringCached-fact terms for parts selected by query or candidateIds. It never changes which parts match.
frequencynumberHertz (8e6 = 8 MHz).
inductancenumberExact henries.
jlcpcbBasicbooleanBasic-only when true; otherwise leave unset.
limitintegerNumber of candidates to return, 1–20 (default 3). Electrical checks run after search selects these candidates.
mountingTypestringsmt: surface mount; tht: through-hole; mixed: both.
packagestringExact catalog label; use query for package families.
querystringPCB selection terms: MPN, manufacturer, description or package family. For exact MPNs omit unverified categories unless user-required. Preserve explicit filters and Part Lists; factQuery does not sele…
requirementsarrayCheck voltage bounds at the requested operating conditions for each returned candidate. For a red 0603 LED, combine the example with category "led", package "0603" and query "red".
resistancenumberExact ohms (10000 = 10 kΩ).
voltageRatingnumberExact catalog rated voltage in volts. Use requirements for forward voltage.

get_part Get part and pins

Read one published part by its catalog id when the selected search result lacks pins, geometry, or datasheet facts. Use pins[].number for padId in connections. If a numbered pad’s function is unclear, verify its assignment in the exact part’s datasheet. Include boardRef for a board with a strict Part List.

ParameterTypeDescription
id *stringCatalog ID returned by search_parts.
boardRefstringPrivate 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 ret…
factOffsetintegerTo read more cached facts, pass datasheetFacts.nextFactOffset from the last result with the same part id and factQuery. An absent nextFactOffset marks the last page.
factQuerystringTerms for relevant facts omitted from the supplied bundle.

list_boards List boards

Find boards in the connected account, most recently updated first. Omit organizationId for personal boards or supply it for one organization. Pass nextOffset as offset to continue paging. With a known boardRef, go directly to get_board. An empty response with access "anonymous" means no private workspace is connected.

ParameterTypeDescription
boardRefstringPrivate 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 ret…
limitintegerMaximum boards to return; defaults to 20.
offsetintegerZero-based offset; defaults to 0. Continue with returned nextOffset; null means no further page.
organizationIdstringOrganization ID from list_organizations. Omit for personal account boards; guest sessions cannot use organizations.

get_board Read board

Read a saved board’s revision, editable intent, settings, placements, and layout state in one call. For a picture, set includePreview to true. Use url for the board link. Use layout.current and layout.electricalRequirementsCurrent to decide whether this revision is ready to check. A null validation means this layout has no saved check. Use get_generation to follow a job. Reading preserves ownership. organizationId identifies an organization board, ownerUserId a personal board, and both are null for a guest board.

ParameterTypeDescription
boardRef *stringPrivate 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 ret…
includePreviewbooleanInclude an image of the current saved layout; omitted or false skips rendering. Returns preview: null when no current layout is available.

save_board_to_account Save board to account

Save a private board to the connected personal account when the user asks to keep it there. Wait for any running layout to finish, then send the same boardRef. The account receives the design and layout and anonymous access ends permanently. The new personal board has its own id and revision. Give the user its url. Continue with the same boardRef and returned revision while connected to the owning account.

ParameterTypeDescription
boardRef *stringPrivate 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 ret…

create_board Create board

Create a PCB using published parts. Each intent.parts entry is [localId, catalogId, value], with an optional fourth designator. Copy catalogId from the search result’s id. Each connection has net, class, and pins. For U1’s catalog pad numbered "7", use ["U1","7"] in pins. Put the board size in boardEdits.settings or boardEdits.outline and every part’s position in boardEdits.fixedPlacements.upsert. Choose the silkscreen placements. For a new board, generate 32 random bytes, encode as unpadded base64url and prepend egbr1_. Keep this private boardRef, a fresh requestId and the original argu…

update_board Edit board

Edit a saved board using its latest revision as expectedRevision and a fresh requestId. On revision_conflict, read get_board before editing again. Send name to rename it, boardEdits to change physical features, or a complete intent to replace its schematic. Start a schematic edit from get_board.intent and include everything to retain. Place each added part and choose its labels. Omit intent for a physical-only edit. To undo, send restoreRevision from get_board.restorableRevisions as the only change. For example, if the board is at revision 8 and 5 is listed, use expectedRevision 8 and restoreR…

delete_board Permanently delete an account board

Permanently delete the specified account board only on explicit user request. Read get_board for its current revision. Deletion requires boards:delete consent and personal ownership or organization owner/admin access. It also cancels active layout jobs. Only a successful response with deleted: true confirms deletion.

ParameterTypeDescription
boardRef *stringPrivate 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 ret…
expectedRevision *integerUse revision from the latest board save or read, or boardRevision from a layout status or check. Layout completion can advance it. On revision_conflict, read get_board before retrying.

generate_layout Generate PCB layout

Route the board at expectedRevision for a requested reroute or after a failed or cancelled job. Normal saves start layout as needed. If a save returns layoutNotStarted, resolve its reason and retry with layout.requestedRoutingEngine when supplied. A new reroute uses current Vela even for an older saved layout. get_board reports eligible upgrades in layout.upgradeAvailable. Use a fresh requestId for a new attempt and the original arguments for an uncertain retry. If pollAfterSeconds is present, follow generation.id with get_generation. On completion, check the current layout with check_board_la…

ParameterTypeDescription
boardRef *stringPrivate 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 ret…
expectedRevision *integerUse revision from the latest board save or read, or boardRevision from a layout status or check. Layout completion can advance it. On revision_conflict, read get_board before retrying.
requestId *stringNew UUID for this operation. Reuse it with identical arguments when retrying an uncertain result; use a new UUID for a different operation.
routingEnginestringPCB router for the next layout. Omit to use the current EGT-2 Vela revision.

get_generation Read generation status

Follow a layout job using its generationId and the board’s boardRef. While queued or running, wait pollAfterSeconds between calls. On completion, use the returned boardRevision to check the current layout. On failure, read generation.error. On cancellation, stop polling this job. Omit generationId to find the active or latest job. In that case generation: null means the board has no job. If a later edit superseded this run, get_board shows the current board state.

ParameterTypeDescription
boardRef *stringPrivate 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 ret…
generationIdstringLayout generation ID returned by create_board, update_board or generate_layout for this same board. Use the exact job ID when polling or stopping it.

stop_generation Stop generation

Cancel the specified board’s queued or running layout job by generationId. A finished job returns its existing status. The response contains that job’s status and the current boardRevision. Starting layout again requires a new job.

ParameterTypeDescription
boardRef *stringPrivate 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 ret…
generationId *stringLayout generation ID returned by create_board, update_board or generate_layout for this same board. Use the exact job ID when polling or stopping it.

check_board_layout Check PCB layout for blocking issues

Check a saved layout for blocking issues at expectedRevision. Saves can return the check in validation. If validation is null and both layout.current and layout.electricalRequirementsCurrent are true, run this check. If layout is stale, follow the active job or generate layout when needed. Read validation.hasBlockingIssues and validation.blockingIssues for the outcome. Report any nonblocking placementIssues.

ParameterTypeDescription
boardRef *stringPrivate 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 ret…
expectedRevision *integerUse revision from the latest board save or read, or boardRevision from a layout status or check. Layout completion can advance it. On revision_conflict, read get_board before retrying.

export_board Export board files

Export the saved revision. Use format "egb" for an editable backup, including an unfinished board. Use "manufacturing" for the Gerber, drill, BOM, and placement ZIP once the layout and its applied electrical requirements are current. If export_preparing is returned, wait details.retryAfterMs milliseconds and retry the same export. Give the user the download from url. If present, offer saveToAccount.url separately as “Save to My Boards.” Keep private links complete, including fragments. An issued download continues to serve that revision until the link is revoked or its file is deleted.

ParameterTypeDescription
boardRef *stringPrivate 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 ret…
expectedRevision *integerUse the revision from the last save or get_board. On revision_conflict, read the board again.
format *stringChoose manufacturing for a fabrication ZIP or egb for an editable EasyGerber project.