easyeda-pro-mcp
v1.4.1Independent open-source MCP server and EasyEDA Pro extension bridge for live PCB project assistance.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
easyeda_live_status EasyEDA Pro live status
Checks whether the EasyEDA Pro extension is connected and reports active document/capability information.
easyeda_doctor EasyEDA Pro bridge diagnostics
Returns a structured diagnosis of the local MCP bridge, EasyEDA Pro extension connection state, protocol compatibility, active document context, and suggested next steps.
easyeda_get_context Get EasyEDA Pro editor context
Summarizes active project, active document, selection, and editor context from the open EasyEDA Pro instance.
| Parameter | Type | Description |
|---|---|---|
timeoutMs | integer |
easyeda_get_selection Get current canvas selection
Returns components, pins, or primitives currently selected by the user on the active schematic or PCB canvas.
| Parameter | Type | Description |
|---|---|---|
timeoutMs | integer |
easyeda_find_component Find EasyEDA Pro component
Finds a component by designator, name, value, footprint, or property in the active EasyEDA Pro project.
| Parameter | Type | Description |
|---|---|---|
query * | string | Designator, value, name, footprint, or property text to search for. |
limit | integer | |
timeoutMs | integer |
easyeda_find_net Find EasyEDA Pro net
Finds a net by name and returns available connections or metadata from the active project.
| Parameter | Type | Description |
|---|---|---|
query * | string | Net name or partial net name to search for. |
limit | integer | |
timeoutMs | integer |
easyeda_schematic_snapshot Get EasyEDA Pro schematic snapshot
Returns components, pins, nets, wires, labels and provenance. Single-page reads attempt native Protel2 netlist membership and explicitly report geometric fallback.
| Parameter | Type | Description |
|---|---|---|
allPages | boolean | Collect all schematic pages when EasyEDA Pro exposes them. |
includeRaw | boolean | Include compact raw EasyEDA API data for fallback reasoning. Defaults to false to minimize token consumption. |
timeoutMs | integer |
easyeda_get_schematic_nets Get Schematic Native Nets
Queries native schematic nets from EasyEDA Pro per-sheet or project-wide. Distinguishes native net connectivity from geometric inferences.
| Parameter | Type | Description |
|---|---|---|
allPages | boolean | Query across all schematic sheets. |
includeRaw | boolean | Include raw EasyEDA net data in the result. |
pageId | string | Filter by schematic sheet/page ID. |
pageIndex | integer | Filter by schematic sheet/page index. |
target | object | Expected active schematic target. |
timeoutMs | integer |
easyeda_list_schematic_components List schematic components
Lists normalized schematic components with designator, value/name, footprint, position, and key properties.
| Parameter | Type | Description |
|---|---|---|
allPages | boolean | |
includeRaw | boolean | |
limit | integer | |
query | string | Optional text filter against component fields. |
timeoutMs | integer |
easyeda_get_component_pins Get schematic component pins
Returns all known pins for a schematic component, including pin number, pin name, position, and net when available.
| Parameter | Type | Description |
|---|---|---|
query * | string | Component designator or text query, such as U1, USB1, or regulator part number. |
allPages | boolean | |
includeRaw | boolean | |
timeoutMs | integer |
easyeda_trace_net Trace EasyEDA Pro net
Traces net topology, connected pins, wire primitive counts, and connectivity evidence across schematic sheets.
| Parameter | Type | Description |
|---|---|---|
net * | string | Net name to trace (e.g. GND, VCC, +3V3, NET_1). |
allPages | boolean | |
includeRaw | boolean | |
timeoutMs | integer |
easyeda_trace_component Trace EasyEDA Pro component connections
Traces component pins, connected nets, adjacent components, and confidence ratings for schematic debugging.
| Parameter | Type | Description |
|---|---|---|
query * | string | Component designator or search query to trace (e.g. U1, R1, C3). |
allPages | boolean | |
includeRaw | boolean | |
timeoutMs | integer |
easyeda_find_unconnected_pins Find unconnected pins
Scans active schematic sheets for unconnected component pins, reporting potential schematic omissions or dangling inputs.
| Parameter | Type | Description |
|---|---|---|
allPages | boolean | |
includeRaw | boolean | |
limit | integer | |
query | string | Optional component designator filter. |
timeoutMs | integer |
easyeda_run_schematic_erc Run Schematic Electrical Rules Check (ERC)
Executes native EasyEDA Pro schematic Electrical Rules Check (ERC) on the active document, reporting rule violations, unconnected pins, and design errors.
| Parameter | Type | Description |
|---|---|---|
strict | boolean | Enforce strict electrical rule checking. |
target | object | Expected active schematic target. |
timeoutMs | integer |
easyeda_validate_schematic_area Validate schematic area
Evaluates essential circuit patterns around a focus component or region, including power, ground, decoupling, pull-ups, and floating pin rules.
| Parameter | Type | Description |
|---|---|---|
focusComponent * | string | Center component designator (e.g. U1, ESP32, STM32). |
allPages | boolean | |
expectedGroundNets | array | Allowed ground net names (defaults to GND/VSS nets). |
expectedPowerNets | array | Allowed power net names (defaults to common VCC/VDD nets). |
includeRaw | boolean | |
maxHops | integer | |
timeoutMs | integer |
easyeda_verify_connections Verify schematic connections
Runs generic read-only connection assertions against the active schematic, including pin/net checks and passive paths through resistors, capacitors, inductors, diodes, or LEDs.
| Parameter | Type | Description |
|---|---|---|
checks * | array | Structured connection assertions to verify against the active schematic. |
allPages | boolean | |
includeRaw | boolean | |
maxHops | integer | |
timeoutMs | integer |
easyeda_get_schematic_ports_buses Get schematic ports and buses
Inspects net ports (hierarchical/global sheet connectors), multi-bit buses, and bus entry taps in the active schematic with connection validation and signal range diagnostics.
| Parameter | Type | Description |
|---|---|---|
includeBusEntries | boolean | Whether to include bus entry taps |
includeBuses | boolean | Whether to include multi-bit buses |
includePorts | boolean | Whether to include net ports |
includeRaw | boolean | Whether to include raw primitive records from the editor |
target | object | Expected active schematic target to guard against document drift |
timeoutMs | integer |
easyeda_compare_schematic_pcb Compare schematic and PCB
Performs cross-domain discrepancy analysis between Schematic and PCB in EasyEDA Pro. Detects unplaced components, untracked PCB parts, footprint mismatches, pin/pad count discrepancies, unrouted nets, and overall synchronicity score.
| Parameter | Type | Description |
|---|---|---|
pcbTarget | object | Expected PCB document target |
schematicTarget | object | Expected schematic document target |
timeoutMs | integer |
easyeda_run_drc Run PCB Design Rule Check (DRC)
Executes the native EasyEDA Pro PCB Design Rule Check (DRC) on the active board and reports detailed violations, categorized counts, evidence, document target, and execution comparison.
| Parameter | Type | Description |
|---|---|---|
compareWithEditor | boolean | Compare execution results against editor-side DRC error state if available. |
limit | integer | Maximum number of detailed violation records to return. |
rule | string | Optional rule name or code filter (e.g. Clearance, ShortCircuit, UnroutedNet). |
severity | string | Filter reported violations by severity level ('all', 'error', or 'warning'). |
strict | boolean | Enforce strict design rule checking. |
target | object | Expected document target to assert execution on the intended PCB document. |
timeoutMs | integer |
easyeda_get_pcb_layers Get PCB Layer Stackup
Returns the layer stackup and configuration of the active EasyEDA Pro PCB, including signal/copper layers, mechanical layers, colors, and visibility.
| Parameter | Type | Description |
|---|---|---|
timeoutMs | integer |
easyeda_get_routing_status Get PCB Routing Status
Analyzes the PCB routing status, total nets, completion percentage, unrouted net connections (ratsnest), and optional net lengths.
| Parameter | Type | Description |
|---|---|---|
includeNetLengths | boolean | Include calculated track length for each net. |
timeoutMs | integer |
easyeda_list_pcb_components List PCB components
Lists normalized PCB components with designator, footprint, placement layer, coordinates, and rotation angle.
| Parameter | Type | Description |
|---|---|---|
includePads | boolean | Include normalized pad details for each component. |
includeProperties | boolean | Include custom properties and attributes. |
includeRaw | boolean | |
layer | string | Filter components by placement layer. |
limit | integer | |
query | string | Optional text filter against component designator, footprint, or value. |
target | object | Expected active PCB target. |
timeoutMs | integer |
easyeda_get_pcb_pads Get PCB pads and pin connections
Inspects PCB pads (both component footprint pins and free pads) with net connections, layers, drill sizes, shapes, and coordinates.
| Parameter | Type | Description |
|---|---|---|
component | string | Filter pads by parent component designator (e.g. 'U1') or primitive ID. |
includeComponentPads | boolean | Include pads belonging to footprint components. |
includeRaw | boolean | |
includeStandalonePads | boolean | Include standalone / free canvas pads. |
layer | string | Filter pads by layer or multi-layer through-hole. |
limit | integer | |
net | string | Filter pads by assigned net name (e.g. 'GND', 'VCC'). |
padNumber | string | Filter pads by specific pin/pad number (e.g. '1', 'A1'). |
target | object | Expected active PCB target. |
timeoutMs | integer |
easyeda_prepare_pcb_component Prepare PCB Component Transform
Prepares a component transformation on the PCB (move, rotate, flip, or delete) with preview, scope, expected coordinates, and exact confirmation phrase. Does not modify the PCB until confirmed.
| Parameter | Type | Description |
|---|---|---|
action * | string | PCB component transform action to perform |
component * | string | Target component designator (e.g. 'U1', 'R3') or primitive ID |
dRotation | number | Relative rotation angle increment in degrees (for rotate) |
dx | number | Relative X delta offset in mm (for move) |
dy | number | Relative Y delta offset in mm (for move) |
layer | string | Explicit target layer/side for flip |
rotation | number | Absolute rotation angle in degrees (for rotate) |
target | object | Expected active PCB target |
timeoutMs | integer | |
x | number | Absolute X target coordinate in mm (for move) |
y | number | Absolute Y target coordinate in mm (for move) |
easyeda_get_board_outline Inspect PCB Board Outline
Inspects the board outline boundary, bounding box (minX, minY, maxX, maxY, width, height), perimeter, estimated area, loop closure status, and segments on the active PCB.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include raw primitive payloads. |
includeSegments | boolean | Include individual segment coordinates and primitives. |
target | object | Expected active PCB target. |
timeoutMs | integer |
easyeda_prepare_board_outline Prepare Board Outline Mutation
Prepares creation, rectangular/polygonal sizing, clearing, or segment modification of the board outline on the active PCB. Returns a mutationId and exact confirmation phrase required for execution via easyeda_confirmed_action.
| Parameter | Type | Description |
|---|---|---|
action | string | Board outline mutation action to perform. |
clearExisting | boolean | Whether to delete existing board outline primitives before creating new ones. |
endX | number | New end X coordinate in mm (for modify_segment). |
endY | number | New end Y coordinate in mm (for modify_segment). |
height | number | Board height in mm (for set_rectangle / create). |
lineWidth | number | Outline track line width in mm (default: 0.2). |
points | array | Array of vertex coordinates in mm for polygonal outline (for set_polygon). |
primitiveId | string | Target segment primitive ID (for modify_segment). |
startX | number | New start X coordinate in mm (for modify_segment). |
startY | number | New start Y coordinate in mm (for modify_segment). |
target | object | Expected active PCB target. |
timeoutMs | integer | |
width | number | Board width in mm (for set_rectangle / create). |
x | number | Origin X coordinate in mm (for set_rectangle / create). |
y | number | Origin Y coordinate in mm (for set_rectangle / create). |
easyeda_prepare_pcb_routing Prepare PCB Auto-routing or Unrouting
Prepares native auto-routing or destructive unrouting of tracks/vias on the active PCB canvas with explicit nets scope, safety preview, and exact confirmation phrase. Does not modify the PCB until confirmed.
| Parameter | Type | Description |
|---|---|---|
action * | string | Routing operation: autoroute to route traces, or unroute to destructively clear tracks/vias. |
ignoreNets | array | Array of net names to exclude from autorouting. |
keepExistingRoutes | boolean | Whether to preserve existing tracks during autorouting. |
nets | array | Explicit array of net names to target (e.g. ['GND', 'VCC']). If omitted, targets all nets. |
target | object | Expected active PCB target. |
timeoutMs | integer |
easyeda_prepare_pcb_layout Prepare PCB Auto-layout
Prepares native component auto-placement/auto-layout on the active PCB canvas within the board outline with safety preview and exact confirmation phrase. Does not modify the PCB until confirmed.
| Parameter | Type | Description |
|---|---|---|
action | string | Layout operation to perform. |
components | array | Explicit array of component designators to arrange (e.g. ['U1', 'R1']). If omitted, arranges all unlocked components. |
target | object | Expected active PCB target. |
timeoutMs | integer |
easyeda_get_pcb_tracks Get PCB tracks
Lists and inspects copper tracks and traces on the active PCB layout with net, layer, geometry coordinates, width, and calculated length.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include raw underlying primitive data. |
layer | string | number | Optional filter by layer name or layer ID (e.g. 1, 'TopLayer', 2, 'BottomLayer'). |
limit | integer | Maximum number of tracks to return. |
net | string | Optional filter by net name (e.g. 'GND', 'VCC'). |
primitiveId | string | Optional filter by track primitive ID. |
target | object | |
timeoutMs | integer |
easyeda_get_pcb_vias Get PCB vias
Lists and inspects vias on the active PCB layout with net, center coordinates (x, y in mm), outer diameter, hole/drill diameter, and layers.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include raw underlying primitive data. |
limit | integer | Maximum number of vias to return. |
net | string | Optional filter by net name (e.g. 'GND', 'VCC'). |
primitiveId | string | Optional filter by via primitive ID. |
target | object | |
timeoutMs | integer |
easyeda_prepare_pcb_track_via Prepare PCB track or via mutation
Prepares creating, modifying, or destructively deleting copper tracks and vias on the active PCB canvas with safety preview and exact confirmation phrase. Does not modify the PCB until confirmed.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: 'create', 'modify', or 'delete'. |
entity * | string | Entity type to mutate: 'track' or 'via'. |
diameter | number | Via outer diameter in mm (default: 0.6). |
endX | number | End X coordinate in mm (for track creation). |
endY | number | End Y coordinate in mm (for track creation). |
holeDiameter | number | Via drill hole diameter in mm (default: 0.3). |
layer | string | number | Placement layer for created track (default: 1 / TopLayer). |
lineWidth | number | Track line width in mm (default: 0.254). |
net | string | Net name for created track or via (e.g. 'GND', 'VCC'). |
properties | object | Property modifications dictionary (for track/via modification). |
startX | number | Start X coordinate in mm (for track creation). |
startY | number | Start Y coordinate in mm (for track creation). |
target | object | Expected active PCB target. |
timeoutMs | integer | |
trackId | string | Primitive ID of track to modify or delete. |
viaId | string | Primitive ID of via to modify or delete. |
x | number | Center X coordinate in mm (for via creation). |
y | number | Center Y coordinate in mm (for via creation). |
easyeda_highlight_net Highlight or clear PCB net
Visually highlights a specified net on the EasyEDA Pro PCB canvas, or clears all highlighted nets.
| Parameter | Type | Description |
|---|---|---|
clear | boolean | When true, unhighlights all nets. |
net | string | Net name to highlight (e.g., 'GND', 'VCC_5V'). |
timeoutMs | integer |
easyeda_get_copper_zones Get PCB copper zones
Lists and inspects copper zones (copper pours/areas) on the active PCB layout with net, layer, clearance, fillType, vertices, and bounding box.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include raw underlying primitive data. |
layer | string | number | Optional filter by layer name or layer ID (e.g. 1, 'TopLayer', 2, 'BottomLayer'). |
limit | integer | Maximum number of copper zones to return. |
net | string | Optional filter by net name (e.g. 'GND', 'VCC'). |
primitiveId | string | Optional filter by copper zone primitive ID. |
target | object | |
timeoutMs | integer |
easyeda_get_keepouts Get PCB keepouts
Lists and inspects keepout areas on the active PCB layout with layer, keepoutType, vertices, and bounding box.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include raw underlying primitive data. |
layer | string | number | Optional filter by layer name or layer ID (e.g. 1, 'TopLayer', 2, 'BottomLayer', or 'AllLayers'). |
limit | integer | Maximum number of keepouts to return. |
primitiveId | string | Optional filter by keepout primitive ID. |
target | object | |
timeoutMs | integer |
easyeda_prepare_copper_keepout Prepare PCB copper zone or keepout mutation
Prepares creating, modifying, deleting, or recalculating/rebuilding copper zones and keepouts on the active PCB canvas with safety preview and exact confirmation phrase. Does not modify the PCB until confirmed.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: 'create', 'modify', 'delete', or 'rebuild' (rebuild applies to copperZone). |
entity * | string | Entity type to mutate: 'copperZone' or 'keepout'. |
clearance | number | Clearance spacing in mm (for copper zones). |
fillType | string | Fill style for copper zones: 'solid', 'grid', or 'none'. |
height | number | Shortcut height in mm for rectangular area. |
keepoutId | string | Primitive ID of keepout to modify or delete. |
keepoutType | string | Keepout restriction type: 'all', 'track', 'via', 'copper', etc. |
layer | string | number | Placement layer (default: 1 / TopLayer). |
net | string | Net name for copper zone creation (e.g. 'GND', 'VCC'). |
points | array | Array of boundary vertices ({ x, y } in mm). Minimum 3 vertices. |
properties | object | Property modifications dictionary (for modify action). |
target | object | Expected active PCB target. |
timeoutMs | integer | |
width | number | Shortcut width in mm for rectangular area. |
x | number | Shortcut start X coordinate in mm for rectangular area. |
y | number | Shortcut start Y coordinate in mm for rectangular area. |
zoneId | string | Primitive ID of copper zone to modify, delete, or rebuild. |
easyeda_get_pcb_airwires Get PCB airwires and ratsnest connections
Inspects unrouted ratsnest airwire lines on the active PCB layout with endpoints, coordinates, lengths, and inference method/tolerances.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of airwires to return. |
net | string | Optional filter by net name (e.g. 'GND', 'VCC'). |
padSnapTolerance | number | Pad snap tolerance in mm (default: 0.1). |
target | object | |
timeoutMs | integer |
easyeda_get_pcb_placement_report Get PCB component placement and collision report
Generates a comprehensive component placement report including density, bounding boxes, layer distribution, and collision/clearance warnings.
| Parameter | Type | Description |
|---|---|---|
boardMarginTolerance | number | Tolerance in mm beyond board outline before considering component unplaced (default: 1.0). |
collisionTolerance | number | Clearance margin in mm to flag tight spacing or collision warnings (default: 0.2). |
target | object | |
timeoutMs | integer |
easyeda_get_pcb_net_report Get PCB net and routing completion report
Generates detailed physical metrics for nets on the active PCB (pad counts, track length, via count, copper zone coverage, and completion percentage).
| Parameter | Type | Description |
|---|---|---|
category | string | Filter nets by electrical category. |
limit | integer | Maximum number of nets to return. |
net | string | Optional filter by specific net name. |
status | string | Filter nets by routing status. |
target | object | |
timeoutMs | integer |
easyeda_get_pcb_net_classes Get PCB net classes
Lists net classes and their member net assignments, routing rules (trace width, clearance, via size) on the active PCB.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include raw underlying primitive data. |
name | string | Optional filter by specific net class name. |
target | object | |
timeoutMs | integer |
easyeda_get_pcb_differential_pairs Get PCB differential pairs
Lists differential pairs with positive and negative net assignments, target impedance, trace width, gap, actual routed track lengths, and skew tolerance compliance.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include raw underlying primitive data. |
name | string | Optional filter by specific differential pair name. |
target | object | |
timeoutMs | integer | |
toleranceMm | number | Length matching skew tolerance in mm (default: 0.15). |
easyeda_get_pcb_length_groups Get PCB equal length groups
Lists equal length matching groups with member net lengths, reference length, max skew, and tolerance compliance.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include raw underlying primitive data. |
name | string | Optional filter by specific length group name. |
target | object | |
timeoutMs | integer | |
toleranceMm | number | Length matching tolerance in mm (default: 0.5). |
easyeda_prepare_pcb_net_constraint Prepare PCB net constraint mutation
Prepares creating, modifying, or deleting net classes, differential pairs, or equal length groups with safety preview, API capability check, and exact confirmation phrase. Does not modify the PCB until confirmed.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: 'create', 'modify', or 'delete'. |
entity * | string | Entity type to mutate: 'netClass', 'differentialPair', or 'lengthGroup'. |
name * | string | Name of the net class, differential pair, or length group. |
clearance | number | Isolation clearance in mm (for netClass). |
differentialGap | number | Differential pair spacing/gap in mm. |
negativeNet | string | Negative net name for differential pair. |
nets | array | Member net names (for netClass or lengthGroup). |
positiveNet | string | Positive net name for differential pair. |
properties | object | Property modifications dictionary (for modify action). |
target | object | Expected active PCB target. |
targetImpedance | number | Target differential impedance in Ohms (e.g. 90, 100). |
targetLengthMm | number | Target length in mm for length group. |
timeoutMs | integer | |
toleranceMm | number | Length matching skew tolerance in mm. |
traceWidth | number | Trace width in mm. |
viaDiameter | number | Via outer diameter in mm (for netClass). |
viaHoleDiameter | number | Via drill hole diameter in mm (for netClass). |
easyeda_get_pcb_3d_inspection Inspect PCB 3D models and vertical clearance
Inspects 3D models, vertical board envelope (substrate thickness, top/bottom max heights, total enclosure clearance), missing STEP/OBJ models ranked by criticality, and 3D spatial interference collisions between components on the active PCB.
| Parameter | Type | Description |
|---|---|---|
checkInterference | boolean | Check 3D spatial bounding box collisions between components. |
enclosureHeightMm | number | Internal enclosure height available in mm to evaluate fit/tight/exceeded status. |
maxHeightMm | number | Maximum allowed vertical component height in mm for clearance check. |
target | object | |
timeoutMs | integer |
easyeda_get_pcb_3d_view Get PCB 3D view and rendering status
Retrieves 3D camera angles, rendering layer visibility, STEP/OBJ 3D export support, and shortcuts to open the native 3D WebGL viewport.
| Parameter | Type | Description |
|---|---|---|
target | object | |
timeoutMs | integer | |
viewAngle | string | Camera angle preset for 3D inspection. |
easyeda_prepare_pcb_external_import Prepare PCB external layout or routing import
Validates and stages external layout or routing files (Specctra SES, EasyEDA router JSON, EasyEDA layout JSON, DXF) with geometry validation, safety preview, and exact confirmation phrase. Does not modify the PCB until confirmed.
| Parameter | Type | Description |
|---|---|---|
format * | string | External format to parse and import. |
content | string | Inline text or JSON content of the external file. |
defaultNet | string | Default net name for imported routing traces. |
dryRunOnly | boolean | If true, validates and parses geometry without staging a mutation. |
filePath | string | Absolute or relative path to local external file to import. |
layerMapping | object | Dictionary mapping external layer identifiers to EasyEDA layer IDs/names. |
netMapping | object | Dictionary mapping external net names to project net names. |
target | object | Expected active PCB target. |
targetLayer | number | string | Default or target PCB layer for imported geometries (default: 1 for Top, 10 for BoardOutline/DXF). |
timeoutMs | integer |
easyeda_get_drc_rules Read native PCB design rules
Read native EasyEDA Pro PCB design rules for current or configured scopes. Does not mutate the board.
| Parameter | Type | Description |
|---|---|---|
scope | string | |
timeoutMs | integer |
easyeda_prepare_drc_edit Prepare a PCB design rule edit
Prepare an explicit, reviewable edit for native EasyEDA Pro PCB design rules. Returns target identity, baseline snapshot, editId and the exact required confirmation string.
| Parameter | Type | Description |
|---|---|---|
operation * | ||
timeoutMs | integer |
easyeda_get_drc_edit_result Query a PCB design rule edit
Query a retained DRC edit after execution or timeout. Never reapply an uncertain edit. Results live only in this extension instance.
| Parameter | Type | Description |
|---|---|---|
editId * | string | |
timeoutMs | integer |
easyeda_zoom_board Zoom EasyEDA Pro board outline
Zooms the active PCB editor to the board outline.
| Parameter | Type | Description |
|---|---|---|
timeoutMs | integer |
easyeda_export_bom Export EasyEDA Pro BOM
Exports a BOM from the active EasyEDA Pro project through the extension.
| Parameter | Type | Description |
|---|---|---|
fileName | string | |
format | string | |
scope | string | |
timeoutMs | integer |
easyeda_export_netlist Export EasyEDA Pro netlist
Exports a netlist from the active EasyEDA Pro schematic or PCB through the extension.
| Parameter | Type | Description |
|---|---|---|
fileName | string | |
scope | string | |
timeoutMs | integer |
easyeda_export_gerber Export EasyEDA Pro Gerber
Exports Gerber fabrication files from the active EasyEDA Pro PCB through the extension.
| Parameter | Type | Description |
|---|---|---|
fileName | string | |
timeoutMs | integer |
easyeda_export_pdf Export EasyEDA Pro PDF
Exports a PDF from the active EasyEDA Pro document through the extension.
| Parameter | Type | Description |
|---|---|---|
fileName | string | |
scope | string | |
timeoutMs | integer |
easyeda_export_cpl Export PCB Component Pick and Place (CPL)
Exports the Pick and Place / Centroid (CPL) file from the active EasyEDA Pro PCB for SMT assembly (e.g. JLCPCB).
| Parameter | Type | Description |
|---|---|---|
destinationPath | string | Optional destination directory / target path. |
fileName | string | Optional output file name without extension. |
format | string | File format for the pick and place report. |
timeoutMs | integer | |
unit | string | Coordinate unit for component positions. |
easyeda_export_image Export schematic or PCB canvas image
Exports a high-resolution visual rendering or vector graphic (PNG, SVG, JPG) of the active schematic sheet or PCB layer stack with transparent background, resolution scaling, and layer visibility options.
| Parameter | Type | Description |
|---|---|---|
destinationPath | string | Optional destination directory / target path. |
dpi | integer | Resolution in dots-per-inch (raster formats). |
fileName | string | Optional output file name without extension. |
format | string | Image format (png, svg, jpg). |
layers | array | Specific PCB layers to include (e.g. ['TopLayer', 'TopSilkLayer']). |
scope | string | Scope of document to export. |
theme | string | Visual theme for rendering. |
timeoutMs | integer | |
transparentBackground | boolean | Whether to use transparent background. |
easyeda_export_3d_model Export PCB 3D mechanical CAD model
Exports 3D mechanical CAD geometry (STEP, OBJ, STL, WRL) of the board and mounted component bodies for MCAD integration, 3D printing, and thermal/clearance analysis.
| Parameter | Type | Description |
|---|---|---|
destinationPath | string | Optional destination directory / target path. |
fileName | string | Optional output file name without extension. |
format | string | 3D CAD geometry format (step, obj, stl, wrl). |
includeComponents3D | boolean | Include 3D component body models. |
includeCopper | boolean | Include copper layers in 3D geometry. |
includeSilkscreen | boolean | Include silkscreen legends in 3D geometry. |
quality | string | Tessellation/mesh export quality. |
timeoutMs | integer |
easyeda_export_project_archive Export complete EasyEDA Pro project archive
Exports the entire EasyEDA Pro project archive (epro, zip, json) containing all schematic sheets, PCB layout, layer configurations, netlists, and project metadata with integrity validation.
| Parameter | Type | Description |
|---|---|---|
destinationPath | string | Optional destination directory / target path. |
fileName | string | Optional output file name without extension. |
format | string | Archive bundle format (epro, zip, json). |
includeHistory | boolean | Include revision and change history. |
includeLibraries | boolean | Bundle custom library symbols and footprints. |
timeoutMs | integer |
easyeda_export_dxf Export 2D CAD DXF drawing
Exports 2D CAD DXF drawings of PCB outlines, copper traces, drilling holes, or schematic drawings for mechanical enclosures, CNC routing, laser cutting, and AutoCAD integration.
| Parameter | Type | Description |
|---|---|---|
destinationPath | string | Optional destination directory / target path. |
dxfVersion | string | AutoCAD DXF format version. |
fileName | string | Optional output file name without extension. |
layers | array | Specific layers to include in DXF export. |
scope | string | Export scope (pcb or schematic). |
timeoutMs | integer | |
unit | string | CAD drawing unit. |
easyeda_search_library Search component library
Searches the EasyEDA / LCSC component catalog by keyword, LCSC part number (e.g. C1523), or manufacturer part number.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keyword, part number, or LCSC part code (e.g., 'C1523', 'ESP32', '0402 10k'). |
limit | integer | |
timeoutMs | integer |
easyeda_get_device_details Get device, symbol, and footprint details
Fetches complete device definition, schematic symbol pinout, PCB footprint pad geometry, and pin-to-pad correspondence mapping by device UUID, LCSC part code (e.g. C1523), or placed component designator (e.g. U1).
| Parameter | Type | Description |
|---|---|---|
designator | string | Placed component designator in active schematic/PCB (e.g. 'U1', 'R2'). |
deviceUuid | string | Library device UUID. |
includePinPadMap | boolean | Whether to include the pin-to-pad correspondence mapping. |
includeRaw | boolean | Include raw underlying primitive data. |
lcscCode | string | LCSC component code (e.g. 'C1523'). |
target | object | |
timeoutMs | integer |
easyeda_compare_devices Compare two devices for pinout and footprint compatibility
Compares two component devices (by UUID, LCSC code, or designator) evaluating pinout matching, footprint geometry, JLCPCB stock availability, and drop-in replacement feasibility.
| Parameter | Type | Description |
|---|---|---|
deviceA * | string | First device UUID, LCSC part number (e.g. 'C1523'), or component designator (e.g. 'U1'). |
deviceB * | string | Second device UUID, LCSC part number (e.g. 'C2040'), or component designator (e.g. 'U2'). |
strictPinout | boolean | Strictly compare pin electrical types in addition to pin names. |
target | object | |
timeoutMs | integer |
easyeda_verify_pin_pad_mapping Verify symbol pin to footprint pad correspondence
Validates 1-to-1 correspondence between schematic symbol pins and PCB footprint pads across all components on active canvas or for a specific component. Identifies unmapped pins, unmapped pads, and potential netlist connectivity breaks.
| Parameter | Type | Description |
|---|---|---|
designator | string | Optional component designator to inspect (e.g. 'U1'). If omitted, verifies all components on active canvas. |
deviceUuid | string | Optional library device UUID to verify. |
target | object | |
timeoutMs | integer |
easyeda_list_documents List EasyEDA Pro Documents
Lists all documents belonging to the current EasyEDA Pro project and open editor tabs, detailing document identity, type, open/active status, and tab layout.
| Parameter | Type | Description |
|---|---|---|
timeoutMs | integer |
easyeda_open_document Open EasyEDA Pro Document
Opens a document or activates an open tab in EasyEDA Pro, shifting input focus and canvas viewport. Provides readback confirmation and reports focus transition.
| Parameter | Type | Description |
|---|---|---|
activate | boolean | Whether to bring focus and activate the tab |
documentId | string | Document UUID to open |
splitScreenId | string | Optional split screen ID to open document into |
tabId | string | Tab ID to activate if already open |
target | object | Expected target document identity |
timeoutMs | integer |
easyeda_render_document_view Render EasyEDA Pro Document View
Captures the visible canvas rendering viewport image in EasyEDA Pro (via DMT_EditorControl). Explicitly documents viewport limits and asserts target match.
| Parameter | Type | Description |
|---|---|---|
format | string | Image encoding format |
tabId | string | Target tab ID if capturing a specific open tab |
target | object | Expected document target to guard against capturing wrong canvas |
timeoutMs | integer |
easyeda_prepare_schematic_component Prepare Schematic Component Mutation
Prepares a create, move, update, or delete operation on a schematic component with full preview, ID/designator resolution, and exact confirmation phrase. Does not modify the schematic until confirmed via easyeda_confirmed_action.
| Parameter | Type | Description |
|---|---|---|
action * | string | Component mutation action to perform |
addIntoBom | boolean | Whether to include in BOM |
addIntoPcb | boolean | Whether to forward to PCB |
component | string | Primitive ID or designator (e.g. 'R1', 'U2') for move, update, or delete |
designator | string | Designator to assign or update (e.g. 'R10') |
device | Device name, LCSC code, or device query to create (e.g. '10k 0603', 'C1523', 'ESP32') | |
dx | number | Relative delta X for move |
dy | number | Relative delta Y for move |
footprint | string | Footprint package name (e.g. '0603', 'SOIC-8') |
mirror | boolean | Mirror state |
properties | object | Key-value properties to update (designator, value, footprint, rotation, mirror, etc.) |
rotation | number | Rotation angle in degrees (0, 90, 180, 270) |
subPartName | string | Sub-part name for multi-part components |
target | object | Expected active schematic target to guard against drift |
timeoutMs | integer | |
value | string | Component value (e.g. '10k', '100nF') |
x | number | X coordinate for placement or absolute move |
y | number | Y coordinate for placement or absolute move |
easyeda_prepare_schematic_wire Prepare Schematic Wire Mutation
Prepares a wire creation, modification, deletion, or net label placement operation in EasyEDA Pro with preview, coordinate validation, affected connections check, and exact confirmation phrase. Does not write until confirmed.
| Parameter | Type | Description |
|---|---|---|
action * | string | Wire mutation action to perform |
color | string | Wire color string |
coordinates | array | Flat array of polyline coordinates [x1, y1, x2, y2, ...] (minimum 2 points) |
flagType | string | Flag type for net flag (Power, Ground, NetPort) |
kind | string | Kind of net label (label or power/ground flag) |
lineWidth | number | Wire line width |
net | string | Net name for wire or net label |
rotation | number | Rotation angle for net label or flag |
target | object | Expected active schematic target |
timeoutMs | integer | |
wireId | string | Target wire ID for modify or delete |
x | number | X coordinate for net label |
y | number | Y coordinate for net label |
easyeda_prepare_schematic_port Prepare Schematic Port Mutation
Prepares a create, modify, or delete operation on a schematic net port (hierarchical/sheet connector) with preview, validation, and exact confirmation phrase. Does not write until confirmed via easyeda_confirmed_action.
| Parameter | Type | Description |
|---|---|---|
action * | string | Port action to perform |
color | string | Port color string |
name | string | Net name for the port (e.g. 'TXD', 'CLK') |
portId | string | Target port primitiveId for modify or delete |
portType | string | Port direction / type |
rotation | number | Rotation angle in degrees (0, 90, 180, 270) |
target | object | Expected active schematic target |
timeoutMs | integer | |
x | number | X coordinate for port placement |
y | number | Y coordinate for port placement |
easyeda_prepare_schematic_bus Prepare Schematic Bus Mutation
Prepares a create, modify, or delete operation on schematic multi-bit buses or diagonal bus entries with syntax parsing, coordinate validation, preview, and exact confirmation phrase. Does not write until confirmed via easyeda_confirmed_action.
| Parameter | Type | Description |
|---|---|---|
action * | string | Bus or bus entry action to perform |
busId | string | Target bus primitive ID for modify, delete, or attaching bus entry |
color | string | Bus color string |
coordinates | array | Flat array of coordinates [x1, y1, x2, y2, ...] for bus polyline (min 4 numbers / 2 points) |
endX | number | End X for bus entry tap |
endY | number | End Y for bus entry tap |
entryId | string | Target bus entry primitive ID for delete |
lineWidth | number | Bus stroke width |
name | string | Bus name with syntax, e.g. 'DATA[0..7]' or 'ADDR[15:0]' |
net | string | Net name for tapped signal (e.g. 'DATA0') |
rotation | number | Rotation angle for bus entry |
startX | number | Start X for bus entry tap |
startY | number | Start Y for bus entry tap |
target | object | Expected active schematic target |
timeoutMs | integer | |
wireId | string | Primitive ID of wire connected by bus entry |
easyeda_prepare_schematic_pcb_sync Prepare Schematic-PCB Synchronization
Prepares a synchronization or board creation mutation between Schematic and PCB in EasyEDA Pro ('syncToPcb', 'syncToSchematic', 'createPcbFromSchematic') with cross-domain discrepancy preview and exact confirmation phrase. Does not write until confirmed via easyeda_confirmed_action.
| Parameter | Type | Description |
|---|---|---|
action * | string | Synchronization or board creation action to perform |
boardName | string | Name for newly created PCB document (for createPcbFromSchematic) |
height | number | Board outline height in mm (default: 80) |
layerCount | integer | Copper layer count for created PCB board (default: 2) |
pcbTarget | object | Expected PCB document target |
schematicTarget | object | Expected schematic document target |
timeoutMs | integer | |
width | number | Board outline width in mm (default: 100) |
easyeda_get_mutation_result Get Mutation Result
Queries the status, readback evidence, and verification of any prepared or applied mutation by mutationId. Safe and read-only; never automatically replays a mutation.
| Parameter | Type | Description |
|---|---|---|
mutationId * | string | The mutationId returned during preparation |
timeoutMs | integer |
easyeda_confirmed_action Confirmed EasyEDA Pro action
Runs a mutating EasyEDA Pro action after human approval. For editDrcRules pass params:{editId} and the exact prepared confirmation. Saving the PCB remains separate.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
confirmation * | string | DRC: exact CONFIRM editDrcRules <editId> after human review. Mutation: exact CONFIRM <domain>:<action> <mutationId>. Legacy actions require an explicit confirmation phrase. |
params | object | |
timeoutMs | integer |
easyeda_evaluate_spice_support Evaluate SPICE simulation feasibility and readiness
Performs feasibility evaluation of analog SPICE simulation on the active schematic: audits component SPICE model availability, verifies Node 0 / GND reference, checks stimulus sources, and documents engine limits and platform boundaries.
| Parameter | Type | Description |
|---|---|---|
groundNet | string | Net name expected as ground datum (mapped to SPICE node 0). |
target | object | |
timeoutMs | integer |
easyeda_generate_spice_netlist Generate standard SPICE netlist
Generates a syntactically valid SPICE circuit netlist (.cir / .sp) with ground-to-0 normalization, primitive RLC elements, semiconductor models, and configurable analysis directives (.op, .tran, .ac, .dc) for simulation in ngspice, LTspice, or Xyce.
| Parameter | Type | Description |
|---|---|---|
analysisParams | string | Custom analysis directive arguments (e.g. '1u 10m' for .tran, or '10 1 1Meg' for .ac). |
analysisType | string | Simulation analysis type (.op, .tran, .ac, .dc). |
destinationPath | string | Optional destination directory / target path. |
fileName | string | Optional output file name without extension. |
groundNet | string | Net name to map to SPICE datum node 0. |
includeDefaultModels | boolean | Include built-in generic diode and BJT .model cards. |
includeSubcircuits | boolean | Whether to include X subcircuit cards for ICs. |
target | object | |
timeoutMs | integer |