diptrace-mcp

v0.4.0
diptrace-mcp Checked 2 days ago Published 3 months ago

Model Context Protocol server and live XML bridge for DipTrace

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

diptrace_status

Show server paths and the active DipTrace bridge session, if any.

get_capabilities

Return supported source types, adapters, limits and current feature availability.

ParameterTypeDescription
path

get_document_info

Return document identity, type, version, size, sha256 and compatibility.

ParameterTypeDescription
path

validate_roundtrip_evidence

Validate distinct allowed-root evidence roles and exact SHA bindings without writing. The bounded result is always authority=user_supplied and grants_high_trust=false.

ParameterTypeDescription
evidence *
path *string

record_roundtrip_evidence

Write a user-supplied evidence manifest and provenance sidecar, not design bytes. This explicitly writes metadata, returns written=true only after both files verify, remains authority=user_supplied, and can never grant high trust.

ParameterTypeDescription
evidence *
path *string

get_board_model

Return one strictly byte-bounded PCB page or a count-only summary.

ParameterTypeDescription
limitintegerComputational record cap; not an engineering limit.
offsetintegerZero-based record offset within the selected section.
path
sectionstringCount-only summary or one normalized PCB collection.

get_schematic_model

Return the normalized schematic model for a DipTrace schematic document.

ParameterTypeDescription
path

scan_component_libraries

Find standalone DipTrace Component Library XML files inside allowed roots.

ParameterTypeDescription
recursiveboolean
root

scan_pattern_libraries

Find standalone DipTrace Pattern Library XML files inside allowed roots.

ParameterTypeDescription
recursiveboolean
root

query_builtin_library_catalog

Browse or search the installed DipTrace catalog without modifying native libraries.

ParameterTypeDescription
diptrace_root
kindstring
limitinteger
offsetinteger
query

query_library_items

Query normalized components or patterns in a standalone library.

ParameterTypeDescription
path *string
limitinteger
offsetinteger
query

get_library_component

Get one normalized component-library item by stable id or exact name.

ParameterTypeDescription
path *string
name
stable_id

get_library_pattern

Get one normalized pattern-library item by stable id or exact name.

ParameterTypeDescription
path *string
name
stable_id

validate_library_component

Validate component pins, attached pattern and pin-to-pad mapping.

ParameterTypeDescription
path *string
name
stable_id

validate_library_pattern

Validate pattern pad numbering, styles, geometry, holes and annular rings.

ParameterTypeDescription
path *string
name
stable_id

validate_pin_pad_mapping

Validate component pin numbers against pads of its embedded attached pattern.

ParameterTypeDescription
path *string
name
stable_id

get_bom

Return a normalized schematic or PCB BOM with multi-part RefDes deduplication.

ParameterTypeDescription
groupedboolean
include_dnpboolean
path

review_bom

Review BOM identity, DNP and value/pattern/MPN consistency.

ParameterTypeDescription
path

compare_bom_to_design

Compare typed external BOM rows with normalized design records by RefDes.

ParameterTypeDescription
external_records *array
path

find_missing_component_fields

Find components missing explicit required BOM fields.

ParameterTypeDescription
required_fields *array
path

group_bom

Group BOM records by exact sourcing identity.

ParameterTypeDescription
include_dnpboolean
path

detect_duplicate_bom_items

List identical BOM identity groups containing multiple RefDes.

ParameterTypeDescription
path

validate_mpn_consistency

Detect one MPN mapped to conflicting manufacturer/value/pattern metadata.

ParameterTypeDescription
path

validate_value_pattern_consistency

Detect value/pattern inconsistency across multi-part units and shared MPNs.

ParameterTypeDescription
path

compare_schematic_to_pcb

Compare RefDes, values, net names and pin/pad endpoint sets.

ParameterTypeDescription
pcb_path *string
schematic_path *string

sync_schematic_to_pcb

Additively synchronize schematic components, nets and ratlines into a PCB. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
pcb_path *string
schematic_path *string
allow_locked_reconciliationboolean
allow_reconnectboolean
component_mappings
create_ratlinesboolean
dry_runboolean
expected_sha256
pattern_library_paths
placement
reconciliation_modestring
txid
update_existing_propertiesboolean

export_bom

Export a generic UTF-8 CSV BOM and provenance manifest as bounded resources.

ParameterTypeDescription
include_dnpboolean
path

export_fabrication_outputs

Export a release-review manifest; native Gerber/drill requests fail explicitly.

ParameterTypeDescription
include_dnpboolean
path
request_native_outputsboolean

export_assembly_outputs

Export generic BOM/placement artifacts; vendor-native requests fail explicitly.

ParameterTypeDescription
include_dnpboolean
path
request_native_outputsboolean

list_exports

List persistent export records without exposing state-directory paths.

query_objects

Structured query over the normalized model. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
limitinteger
offsetinteger
path
selector
sort_bystring

get_object

Return one normalized object by stable id.

ParameterTypeDescription
stable_id *string
path

get_connectivity_graph

Return normalized logical endpoints and separate physical PCB ratlines.

ParameterTypeDescription
path

scan_diptrace_documents

Find DipTrace XML/native-XML documents inside an allowed directory.

ParameterTypeDescription
recursiveboolean
root

summarize_design

Summarize a PCB or schematic: components, nets, layers, sheets and connectivity.

ParameterTypeDescription
path

list_components

List and search PCB components or grouped schematic component parts.

ParameterTypeDescription
limitinteger
offsetinteger
path
query

get_component

Get one component, its parts/pads and all connected nets by reference designator.

ParameterTypeDescription
refdes *string
path

list_nets

List PCB or schematic nets with component endpoints.

ParameterTypeDescription
include_endpointsboolean
limitinteger
offsetinteger
path
query

get_design_rules

Read PCB DRC/routing rules or schematic ERC settings from DipTrace XML.

ParameterTypeDescription
path

read_xml_fragment

Read bounded XML fragments using ElementTree-compatible XPath.

ParameterTypeDescription
max_charactersinteger
max_matchesinteger
path
xpathstring

apply_xml_edits

Store a bounded diff resource, or write with its SHA/match guards and a backup. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
edits *array
dry_runboolean
expected_sha256
path

create_schematic_document

Create synthetic, not DipTrace-verified Schematic XML; overwrite needs current SHA.

ParameterTypeDescription
path *string
expected_sha256
format_versionstringLiteral XML Version attribute for the synthetic document. This does not convert the scaffold structure or assert compatibility with that DipTrace version.
overwriteboolean
sheets
unitsstring

create_pcb_document

Create a new DipTrace PCB XML document (outline, layers, stackup, rules). This is synthetic MCP-generated content. It has the correct XML structure but has NOT been verified by DipTrace open/save. Use create_document_from_seed with a real DipTrace export when DipTrace compatibility is required. Replacing an existing target requires its current SHA. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
path *string
expected_sha256
format_versionstringLiteral XML Version attribute for the synthetic document. This does not convert the scaffold structure or assert compatibility with that DipTrace version.
overwriteboolean
pcb
unitsstring

create_document_from_seed

Copy a valid DipTrace-shaped XML seed while preserving unknown XML. Validation is derived only from a verified provenance sidecar; without one, the copy is synthetic_parser_only. Prefer a real export seed when DipTrace compatibility matters. Replacing an existing target requires its current SHA.

ParameterTypeDescription
seed_path *string
target_path *string
expected_seed_sha256
expected_sha256
overwriteboolean

begin_transaction

Create a transaction snapshot for a document or live session.

ParameterTypeDescription
expected_sha256
notes
path

stage_operations

Attach registered semantic operations to an existing transaction. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
operations *array
txid *string

preview_transaction

Store preview artifacts and return bounded metadata without changing the design.

ParameterTypeDescription
txid *string

validate_transaction

Validate staged operations and return the same bounded preview metadata.

ParameterTypeDescription
txid *string

commit_transaction

Commit a staged transaction after verifying the source SHA-256.

ParameterTypeDescription
txid *string
expected_sha256

rollback_transaction

Restore a transaction snapshot or backup.

ParameterTypeDescription
txid *string
expected_sha256

list_transactions

List persisted transaction ids, document hashes, states and operation counts.

move_components

Move one or more components transactionally. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
absolute_x
absolute_y
allow_lockedboolean
dry_runboolean
dxnumber
dynumber
expected_sha256
grid_snap
path
selector
txid

set_component_value

Set the value of one or more components transactionally. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
value *string
dry_runboolean
expected_sha256
path
selector
txid

rotate_components

Rotate selected PCB components or schematic parts transactionally. Component angle semantics have not yet been independently validated against a live DipTrace GUI edit and re-export. Inspect the transaction preview and verify the result through DipTrace before relying on rotation changes. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
angle_deg *number
allow_lockedboolean
allowed_angles
dry_runboolean
expected_sha256
modestring
path
selector
txid

set_component_side

Move selected PCB components to the top or bottom side. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
side *string
allow_lockedboolean
dry_runboolean
expected_sha256
path
selector
txid

lock_components

Lock selected PCB components or schematic parts. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
dry_runboolean
expected_sha256
path
selector
txid

unlock_components

Unlock selected components. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
dry_runboolean
expected_sha256
path
selector
txid

set_component_properties

Set RefDes, name, value or custom fields on selected components. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
allow_lockedboolean
dry_runboolean
expected_sha256
fields
name
path
refdes
selector
txid
value

set_component_pattern

Swap to one embedded pattern only when pad mapping is preserved exactly. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
pattern_style *string
selector *object
allow_lockedboolean
dry_runboolean
expected_sha256
path
txid

align_components

Align PCB component body bboxes as one semantic transaction. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
alignment *string
selector *object
allow_lockedboolean
dry_runboolean
expected_sha256
path
target_value
txid

distribute_components

Distribute at least three PCB components transactionally. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
axis *string
selector *object
allow_lockedboolean
dry_runboolean
expected_sha256
modestring
path
spacing
txid

group_components

Create or reuse a documented DipTrace PCB group transactionally. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
selector *object
allow_lockedboolean
dry_runboolean
expected_sha256
group_id
path
txid

ungroup_components

Remove selected components from groups and prune only empty groups. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
selector *object
allow_lockedboolean
dry_runboolean
expected_sha256
path
remove_empty_groupsboolean
txid

list_board_texts

List free board text and component silk/assembly markings. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
path
selector

move_board_texts

Move free board text or component markings in board coordinates. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
absolute_x
absolute_y
allow_lockedboolean
dry_runboolean
dxnumber
dynumber
expected_sha256
path
selector
txid

rotate_board_texts

Rotate free board text or component markings. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
angle_deg *number
allow_lockedboolean
dry_runboolean
expected_sha256
modestring
path
selector
txid

set_text_visibility

Set visibility for component silk/assembly markings. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
visibility *string
allow_lockedboolean
dry_runboolean
expected_sha256
path
selector
txid

set_text_style

Set verified style attributes on free PCB text shapes. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
allow_lockedboolean
dry_runboolean
expected_sha256
font_size
font_width
horizontal_align
mirrored
path
selector
txid
vertical_align

set_pin_no_connect

Set or clear intentional no-connect on selected schematic pins. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
no_connect *boolean
dry_runboolean
expected_sha256
path
selector
txid

set_component_fields

Custom-field-only component update. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
fields *object
allow_lockedboolean
dry_runboolean
expected_sha256
path
selector
txid

rename_net

Rename selected PCB or schematic nets with duplicate-name protection. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
new_name *string
dry_runboolean
expected_sha256
path
selector
txid

add_sheet

Add a new sheet to a schematic document. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
name *string
dry_runboolean
expected_sha256
path
sheet_typestring
txid

place_part

Place a new schematic part referencing a library ComponentStyle. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
component_style *string
pin_count *integer
refdes *string
x *number
y *number
allow_shared_refdesboolean
angle_degnumber
component_partinteger
dry_runboolean
expected_sha256
name
part_name
part_numberinteger
part_refdes
path
sheetinteger
txid
valuestring

place_builtin_component

Find an installed component by catalog id/name and place a private schematic copy. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
component *string
refdes *string
x *number
y *number
angle_degnumber
diptrace_root
dry_runboolean
expected_sha256
path
sheetinteger
value

connect_pins

Connect part pins to a net; the net is created when missing. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
net *string
pins *array
allow_reconnectboolean
dry_runboolean
expected_sha256
path
txid

disconnect_pins

Disconnect selected schematic pins from their nets. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
dry_runboolean
expected_sha256
path
selector
txid

add_wire

Add a wire to a schematic net (official Wire/Points XML structure). All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
end *
net *string
points *array
start *
dry_runboolean
expected_sha256
hidden_powerboolean
path
sheetinteger
txid

delete_wire

Delete selected schematic wires without touching net connectivity. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
dry_runboolean
expected_sha256
path
selector
txid

add_net_label

Add a net-bound text label shape to a schematic sheet. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
net *string
x *number
y *number
dry_runboolean
expected_sha256
font_sizeinteger
path
sheetinteger
text
txid

set_panelization

Set official DipTrace panelization parameters on a PCB document. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
panel *object
dry_runboolean
expected_sha256
path
txid

clear_panelization

Remove panelization settings from a PCB document. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
dry_runboolean
expected_sha256
path
txid

update_net_class_rules

Update verified per-layer width and clearance fields of a PCB net class. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
class_name *string
clearance
dry_runboolean
expected_sha256
layer
max_width
min_width
neck_width
path
txid
width

assign_nets_to_class

Assign selected PCB or schematic nets to an existing net class. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
class_name *string
dry_runboolean
expected_sha256
path
selector
txid

set_diff_pair_rules

Net-class differential-pair preset. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
class_name *string
differential_gap *number
dry_runboolean
expected_sha256
layer
max_uncoupled_length
neck_width
path
tolerance
txid
width

set_length_constraints

Net-class length preset. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
class_name *string
fixed_length *number
length_delta *number
check_lengthboolean
dry_runboolean
expected_sha256
path
txid

list_testpoints

List explicit TP standalone-pad components in a PCB document. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
path
selector

find_testpoint_candidates

Generate deterministic free-grid testpoint candidates for selected nets. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
target_nets *array
candidates_per_netinteger
clearancenumber
gridnumber
path
probe_diameternumber
sidestring

add_testpoints

Add explicit standalone-pad testpoints and connect them to existing nets atomically. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
testpoints *array
dry_runboolean
expected_sha256
path
txid

move_testpoints

Move explicit standalone-pad testpoints transactionally. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
absolute_x
absolute_y
allow_lockedboolean
dry_runboolean
dxnumber
dynumber
expected_sha256
grid_snap
path
selector
txid

remove_testpoints

Remove explicit standalone-pad testpoints and their net/pattern references. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
allow_lockedboolean
dry_runboolean
expected_sha256
path
selector
txid

review_testpoint_coverage

Measure explicit standalone-pad testpoint coverage for selected or all nets.

ParameterTypeDescription
path
target_nets

check_silkscreen

Alias: run_silkscreen_check.

ParameterTypeDescription
path

plan_silkscreen

Generate and persist a deterministic legal silkscreen placement plan. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
avoid_component_bodiesboolean
board_edge_clearancenumber
clearancenumber
gridnumber
include_board_textsboolean
path
search_stepsinteger
selector

apply_silkscreen_plan

Stage or commit a stored silkscreen plan as one semantic transaction. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
plan_id *string
dry_runboolean
expected_sha256
txid

analyze_placement

Measure current component overlap, containment and placement score. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
board_edge_clearancenumber
path
selector
spacingnumber

generate_placement_candidates

Generate bounded deterministic local placement candidates. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
selector *object
allowed_rotations
allowed_sides
board_edge_clearancenumber
deterministic_seedinteger
gridnumber
max_candidates_per_componentinteger
path
region
respect_keepoutsboolean
search_stepsinteger
spacingnumber
time_budget_msinteger
weights

score_placement

Score an explicit component placement proposal without editing XML. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
placements *array
board_edge_clearancenumber
path
spacingnumber
weights

plan_component_placement

Create a validated deterministic local component-placement plan. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
selector *object
allowed_rotations
allowed_sides
board_edge_clearancenumber
deterministic_seedinteger
gridnumber
max_candidates_per_componentinteger
path
region
respect_keepoutsboolean
search_stepsinteger
spacingnumber
time_budget_msinteger
weights

legalize_component_placement

Preset: plan_component_placement. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
selector *object
board_edge_clearancenumber
gridnumber
path
search_stepsinteger
spacingnumber
time_budget_msinteger

apply_component_placement_plan

Stage or commit a stored component-placement plan transactionally. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
plan_id *string
dry_runboolean
expected_sha256
txid

rank_schematic_placement_candidates

Rank schematic candidates with optional sourced engineering rules.

ParameterTypeDescription
engineering_rules
path

plan_schematic_placement_repair

Plan placement repair and selective affected-net reroute; wired-safe, moves are fixed. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
moves
path

apply_schematic_placement_repair_plan

Stage or commit a stored schematic placement-repair plan transactionally. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
plan_id *string
dry_runboolean
expected_sha256
txid

compare_pcb_placement_candidates

Rank PCB A-D candidates with physics and optional sourced rules.

ParameterTypeDescription
engineering_rules
include_existing_boardboolean
path
profiles

recommend_patterns

Rank compatible footprint patterns from a pattern library deterministically. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
requirement *
limitinteger
path

analyze_release_readiness

Report bounded DFM/DFA/DFT release-readiness findings from exported XML.

ParameterTypeDescription
path

add_trace

Add an explicit validated trace path between two normalized pad endpoints. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
end_object_id *string
layer *string
net *string
points *array
start_object_id *string
width *number
clearance
dry_runboolean
expected_sha256
path
txid

replace_trace

Replace trace geometry while preserving both connected endpoints. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
layer *string
points *array
trace_id *string
width *number
clearance
dry_runboolean
expected_sha256
path
txid

delete_trace

Delete selected traces; connectivity regression requires explicit opt-in. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
selector *object
allow_connectivity_regressionboolean
dry_runboolean
expected_sha256
path
txid

set_trace_width

Set selected trace segment widths with exported DRC minimum checks. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
selector *object
width *number
dry_runboolean
expected_sha256
path
segment_indices
txid

add_via

Add a verified ViaStyle trace point on an existing segment. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
trace_id *string
via_style *string
x *number
y *number
dry_runboolean
expected_sha256
layer_after
layer_before
path
txid

move_via

Move selected trace-point vias transactionally. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
selector *object
absolute_x
absolute_y
dry_runboolean
dxnumber
dynumber
expected_sha256
path
txid

delete_via

Remove ViaStyle from selected trace points. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
selector *object
dry_runboolean
expected_sha256
path
txid

set_via_style

Set an existing verified project ViaStyle on selected vias. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
selector *object
via_style *string
dry_runboolean
expected_sha256
path
txid

list_unrouted_connections

List exported ratlines with normalized pad endpoints and lengths.

ParameterTypeDescription
nets
path

get_route_details

Return trace segments, per-layer geometric length and via counts.

ParameterTypeDescription
net
path
trace_id

get_stackup

Return the normalized physical layer stack without inventing missing Dk values.

ParameterTypeDescription
path

measure_net_lengths

Measure geometric centerline lengths and optional preliminary delay.

ParameterTypeDescription
effective_dielectric_constant
nets
path

analyze_length_group

Compare routed geometric lengths for an explicit group of nets. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
nets *array
path
tolerance_mm

list_differential_pairs

List normalized DipTrace project differential pairs and their rules.

ParameterTypeDescription
limitinteger
offsetinteger
path

get_differential_pair

Get one differential pair by stable id, XML id or exact name.

ParameterTypeDescription
pair *string
path

analyze_differential_pair

Measure pair lengths, skew, via balance, coupled length and edge gap.

ParameterTypeDescription
pair *string
path

analyze_differential_pairs

Analyze all normalized project differential pairs.

ParameterTypeDescription
path

validate_differential_pair

Evaluate available exported rules for one differential pair.

ParameterTypeDescription
pair *string
path

calculate_impedance

Calculate a preliminary analytical impedance with explicit assumptions. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
copper_thickness_mm *number
dielectric_constant *number
dielectric_height_mm *number
structure *string
width_mm *number
frequency_hz
gap_mm
target_ohm
tolerance_ohm

suggest_trace_geometry_for_impedance

Synthesize a bounded microstrip width using the analytical model. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
copper_thickness_mm *number
dielectric_constant *number
dielectric_height_mm *number
maximum_width_mm *number
minimum_width_mm *number
target_ohm *number
tolerance_ohmnumber

analyze_stackup_for_impedance

Find only complete outer-layer microstrip geometries in the physical stackup.

ParameterTypeDescription
path

validate_impedance_constraints

Validate explicit net/layer/target constraints against routed widths and stackup. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
constraints *array
path

analyze_controlled_impedance

Alias: validate_impedance_constraints. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
constraints *array
path

list_copper_pours

List normalized copper-pour boundaries and refill-state metadata.

ParameterTypeDescription
limitinteger
offsetinteger
path

analyze_plane_continuity

Inspect exported pour boundaries without claiming final-refill continuity.

ParameterTypeDescription
path

analyze_return_path

Run low-confidence geometry heuristics with a caller-supplied radius. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
stitching_radius_mm *number
nets
path
reference_nets

route_connection

Route one pad-to-pad connection with bounded deterministic 45-degree A*. Omit clearance to use the applicable document DRC TraceToTrace rule. Clearance resolution applies the maximum of explicit requested clearance, board DRC TraceToTrace defaults, and all affected NetClass LayProperty Clearance rules. The structured result includes clearance_rule_status and the effective value; this is not a full DipTrace DRC sign-off. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the prev…

ParameterTypeDescription
end_object_id *string
layer *string
net *string
start_object_id *string
width *number
avoid_component_bodiesboolean
bend_costnumber
clearance
dry_runboolean
end_layer
expected_sha256
gridnumber
max_detournumber
max_nodesinteger
max_viasinteger
path
preferred_layers
start_layer
time_budget_msinteger
txid
via_costnumber
via_style

route_net

Route exported ratlines; omitted clearance comes from document DRC. Clearance resolution applies the maximum of explicit requested clearance, board DRC TraceToTrace defaults, and all affected NetClass LayProperty Clearance rules. The structured result includes clearance_rule_status and the effective value; this is not a full DipTrace DRC sign-off. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
layer *string
net *string
width *number
clearance
dry_runboolean
expected_sha256
gridnumber
max_viasinteger
path
preferred_layers
txid
via_costnumber
via_style

route_connections

Route multiple connections sequentially with bounded rip-up/retry. Clearance resolution applies the maximum of explicit requested clearance, board DRC TraceToTrace defaults, and all affected NetClass LayProperty Clearance rules. The structured result includes clearance_rule_status and the effective value; this is not a full DipTrace DRC sign-off. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha…

ParameterTypeDescription
connections *array
dry_runboolean
expected_sha256
max_ripup_attemptsinteger
orderingstring
path
ripup_retryboolean
txid

analyze_routing_congestion

Rank route connections by deterministic corridor congestion without editing. Clearance resolution applies the maximum of explicit requested clearance, board DRC TraceToTrace defaults, and all affected NetClass LayProperty Clearance rules. The structured result includes clearance_rule_status and the effective value; this is not a full DipTrace DRC sign-off. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.

ParameterTypeDescription
connections *array
orderingstring
path

route_diff_pair

Route a coupled pair; omitted clearance comes from document DRC. Clearance resolution applies the maximum of explicit requested clearance, board DRC TraceToTrace defaults, and all affected NetClass LayProperty Clearance rules. The structured result includes clearance_rule_status and the effective value; this is not a full DipTrace DRC sign-off. All distances are in millimetres, regardless of the document's own Units attribute. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
layer *string
pair *string
clearance
dry_runboolean
end_pad_point_id
expected_sha256
gap
gridnumber
max_detournumber
max_viasinteger
path
preferred_layers
start_pad_point_id
txid
via_costnumber
via_style
width

plan_diff_pair_route

Plan a coupled route; omitted clearance comes from document DRC. Clearance resolution applies the maximum of explicit requested clearance, board DRC TraceToTrace defaults, and all affected NetClass LayProperty Clearance rules. The structured result includes clearance_rule_status and the effective value; this is not a full DipTrace DRC sign-off. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
layer *string
pair *string
clearance
end_pad_point_id
gap
gridnumber
max_detournumber
max_viasinteger
path
preferred_layers
start_pad_point_id
via_costnumber
via_style
width

plan_route_nets

Plan bounded routes; omitted clearance comes from document DRC. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
layer *string
nets *array
width *number
clearance
gridnumber
max_viasinteger
path
preferred_layers
via_costnumber
via_style

apply_route_plan

Stage or commit a stored local route plan as one transaction. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
plan_id *string
dry_runboolean
expected_sha256
txid

export_autorouter_dsn

Export a bounded Specctra DSN artifact when exact footprint geometry is available.

ParameterTypeDescription
design_name
path

run_external_autorouter

Start an isolated bounded Freerouting CLI job; never invokes a shell.

ParameterTypeDescription
dsn_job_id
dsn_path
ignore_net_classes
max_passesinteger
path
threadsinteger
timeout_seconds

inspect_autorouter_result

Parse and validate a completed SES artifact and create an import preview plan.

ParameterTypeDescription
jobid *string
path
via_style

import_autorouter_ses

Preview or commit a previously inspected SES route plan transactionally. `dry_run=true` previews without writing. Set `dry_run=false` only after inspecting the preview and pass its `expected_sha256`.

ParameterTypeDescription
plan_id *string
dry_runboolean
expected_sha256
txid

run_ngspice_simulation

Run a user-supplied ngspice netlist in batch mode (requires DIPTRACE_MCP_NGSPICE).

ParameterTypeDescription
netlist
netlist_path
path
timeout_seconds

run_openems_stripline_analysis

Run configured openEMS stripline analysis with a typed frequency sweep. All distances are in millimetres, regardless of the document's own Units attribute.

ParameterTypeDescription
copper_thickness_mm *number
dielectric_constant *number
frequencies_hz *array
lower_dielectric_height_mm *number
upper_dielectric_height_mm *number
width_mm *number
conductor_conductivity_s_per_mnumber
dielectric_loss_tangentnumber
mesh_cells_per_wavelengthinteger
path
port_impedance_ohmnumber
timeout_seconds
trace_length_mmnumber

get_job_status

Return persistent external-job state and progress.

ParameterTypeDescription
jobid *string

get_job_result

Return completed, partial or failed external-job result data.

ParameterTypeDescription
jobid *string

cancel_job

Request cancellation of a running external job.

ParameterTypeDescription
jobid *string

list_jobs

List persistent jobs, optionally filtered by exact status.

ParameterTypeDescription
status

run_drc

PCB placement, connectivity and clearance profile.

ParameterTypeDescription
path

run_connectivity_check

Connectivity review profile.

ParameterTypeDescription
path

run_silkscreen_check

Silkscreen review profile.

ParameterTypeDescription
path

run_component_clearance_check

Placement-clearance review profile.

ParameterTypeDescription
path

run_erc

Schematic connectivity and metadata profile.

ParameterTypeDescription
path

run_board_review

Complete registered PCB review profile.

ParameterTypeDescription
path

run_schematic_review

Complete registered schematic review profile.

ParameterTypeDescription
path

run_manufacturing_review

Manufacturing review profile.

ParameterTypeDescription
path

run_manufacturing_geometry_check

Manufacturing-geometry review profile.

ParameterTypeDescription
path

run_assembly_review

Assembly review profile.

ParameterTypeDescription
path

run_testability_review

Testability review profile.

ParameterTypeDescription
path

run_bom_review

BOM review profile.

ParameterTypeDescription
path

run_thermal_review

Thermal-metadata review profile.

ParameterTypeDescription
path

get_findings

Read all structured findings from a stored review report.

ParameterTypeDescription
report_id *string

get_finding

Read one structured finding by deterministic id.

ParameterTypeDescription
finding_id *string

finish_live_session

Request SHA-256-bound apply/cancel and report only local bridge finalization.

ParameterTypeDescription
action *string
expected_sha256

abandon_live_session

Abandon stale local session state without applying its working XML.

ParameterTypeDescription
reason *stringOperator reason for abandoning stale local session state without applying its working XML.