Multisim MCP

v1.3.1
io.github.yxy050208/multisim-mcp Checked 1 day ago Published 1 month ago

Generate Multisim circuits, run simulations, export data, and create experiment reports.

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

connect

Connect to the local Multisim Automation API.

runtime_status

Check local EDA runtime compatibility without starting Multisim.

ParameterTypeDescription
target_version

register_experiment_artifacts

Register an existing complete experiment directory as MCP Resources. Use this after a server restart when the experiment was generated earlier. Only the fixed high-level experiment artifact set is exposed.

ParameterTypeDescription
output_dir *string

list_experiment_artifacts

List artifact metadata, hashes, MIME types, and safe access capabilities.

ParameterTypeDescription
experiment_id *string

read_experiment_artifact

Read one bounded page from an allowlisted text experiment artifact.

ParameterTypeDescription
experiment_id *string
name *string
max_charsinteger
offsetinteger

export_experiment_artifact

Export an artifact beneath MULTISIM_MCP_ARTIFACT_EXPORT_DIR.

ParameterTypeDescription
experiment_id *string
name *string
destination_subdirstring
overwriteboolean

get_experiment_summary

Return a compact report, verification, and artifact summary for agents.

ParameterTypeDescription
experiment_id *string

audit_spice_compatibility

Audit SPICE dialect, model hashes/licenses, and static backend risks.

ParameterTypeDescription
netlist *string
backendstring
declared_dialect
model_references

compare_experiment_backends

Numerically compare common signals from two registered EDA experiments.

ParameterTypeDescription
candidate_experiment_id *string
reference_experiment_id *string
absolute_tolerancenumber
max_pointsinteger
relative_tolerance_percentnumber
signals

register_sweep_artifacts

Register a completed sweep directory and return opaque MCP Resources.

ParameterTypeDescription
output_dir *string

measure_experiment

Compute explicit metrics from a registered experiment's raw data.

ParameterTypeDescription
experiment_id *string
measurements *array

read_virtual_multimeter

Read DC, true RMS, AC RMS and range from experiment data.

ParameterTypeDescription
experiment_id *string
signal *string
reference_signal

analyze_bode_response

Use the Bode Plotter adapter on an AC-sweep experiment.

ParameterTypeDescription
experiment_id *string
input_signal *string
output_signal *string
frequency_signal
max_pointsinteger

analyze_logic_signals

Use the Logic Analyzer adapter to digitize traces and list edges.

ParameterTypeDescription
experiment_id *string
signals *array
max_eventsinteger
thresholdnumber
time_signal

export_formal_experiment_report

Export bilingual HTML/PDF reports and a reproducibility manifest.

ParameterTypeDescription
experiment_id *string

component_adapter_catalog

List portable built-in and local declarative component adapters.

build_behavioral_reference

Convert supported native DFF carriers into an explicit ngspice reference. The returned netlist is not run automatically and never replaces the source design. It maps native ``D, ~PR, ~CLR, CLK, Q, ~Q, GND, VCC`` pins to the portable ``@DFF`` adapter, inserts explicit control inverters for active-low ``~PR/~CLR``, and records the behavioral-only claim. Pass the returned ``netlist`` explicitly to ``run_spice_netlist`` with ``backend='ngspice'`` when a reference run is desired.

ParameterTypeDescription
netlist *string

run_behavioral_reference

Build and run an explicit ngspice behavioral reference in one call. This workflow is intentionally opt-in: it only accepts a netlist containing a supported native ``DFF8``/``7474N``-family carrier, converts that carrier to the portable ``@DFF`` reference, and then runs the converted netlist through the explicitly selected ngspice backend. The source design is not modified, and the result must not be interpreted as native Multisim 74LS74 timing or electrical-equivalence evidence.

ParameterTypeDescription
commands *string
netlist *string
max_pointsinteger
output_dir
overwriteboolean
timeoutnumber

verify_experiment_requirements

Evaluate explicit design requirements; unsupported evidence stays unverified.

ParameterTypeDescription
experiment_id *string
requirements *array
theoretical_values

plan_experiment_sweep

Validate and preview parameter, tolerance, temperature, or Monte Carlo runs.

ParameterTypeDescription
spec *object

plan_design_options

Return comparable technical方案 without generating or executing a circuit. The result is a bounded planning-only ``DesignPlan``. It contains a deterministic recommendation, alternative implementation paths, trade-offs, and explicit assumptions. Netlists, schematics, files, and simulations are intentionally deferred until a caller selects an option in a later step.

ParameterTypeDescription
requirements *string
constraints
context
max_optionsinteger
objectives

review_design_requirements

Review an optimisation contract before running a baseline experiment. The tool normalises measurement requirements, separates hard constraints from soft objectives and preferences, and detects obvious contradictory bounds for the same signal. It never creates a circuit, writes files, or starts a simulation; a clean result only means the declared contract is internally coherent.

ParameterTypeDescription
hard_constraints *array
assumptions
preferences
soft_objectives
summarystring
titlestring

bind_requirement_review_to_design

Bind reviewed requirements to an existing design snapshot without edits. Voltage and current signals are matched against design nets and component references. Unrecognised signal text is reported for explicit aliasing; no .ms14 file, source netlist, or simulation state is modified.

ParameterTypeDescription
design *object
requirement_review *object
signal_aliases
snapshot_evidence

select_design_option

Lock one planning option without generating or executing a circuit. The input plan digest is checked before selection. The returned envelope binds the source and selected digests so a later generator can require an explicit, untampered handoff.

ParameterTypeDescription
option_id *string
plan *object

prepare_design_specification

Prepare a reviewable electrical specification from a selected plan. This read-only step lists required electrical parameters, planned modules, analyses, and validation gates. It requires a valid selection digest and never creates a CircuitDesign, netlist, schematic, file, or simulation.

ParameterTypeDescription
plan *object
parameter_values

prepare_netlist_draft

Prepare a logical netlist draft after explicit specification approval. The result contains block-level nets, connections, unresolved component requirements, and derived constraints. It is not executable SPICE and never creates a CircuitDesign, schematic, file, or simulation.

ParameterTypeDescription
approval *object
plan *object
specification *object

resolve_component_requirements

Resolve logical roles into reviewable component candidates and rating gates. This remains a read-only planning step. It does not choose a silent part number, create a CircuitDesign, generate SPICE, write a file, or start a simulation. A later stage must provide model provenance and explicit human approval before compiling an executable netlist.

ParameterTypeDescription
draft *object
selections

approve_component_resolution

Record explicit human approval for a complete component resolution. This is still a review artifact. It does not generate SPICE, create a CircuitDesign, write a file, render a schematic, or start a simulation; those actions require a later compiler and separate approval gates.

ParameterTypeDescription
approval *object
draft *object
resolution *object

compile_executable_netlist

Compile an approved logical draft into a bounded pin-level preview. Only options in the compiler support matrix are accepted. External model bytes, when present, are re-hashed beneath ``MULTISIM_MCP_MODEL_ROOT``. Optional experiment_fixture composes an explicit DC/AC source and source impedance before review, currently signal-active/14.3 only. It requires schema_version, target_version, dc_voltage_v, source_impedance_ohm and included_load_ohm; optional ac_amplitude_v/ac_phase_deg are small-signal AC. The resulting netlist review requires confirm_fixture and fixtur…

ParameterTypeDescription
component_approval *object
draft *object
experiment_fixture

approve_executable_netlist

Record explicit human approval for one immutable netlist preview. The approval binds the compiled CircuitDesign and SPICE digest. It does not write a schematic, create a project file, add stimuli, or start a simulation; those remain separate downstream gates.

ParameterTypeDescription
approval *object
executable_netlist *object

approve_simulation_plan

Record explicit approval for one safe simulation plan. The artifact binds the approved executable-netlist preview to the exact analysis commands, measurement requirements, and theoretical values in an ``ExperimentSpec``. It does not create a schematic, write files, or start a simulation; ``run_verified_circuit_experiment`` must validate it again.

ParameterTypeDescription
approval *object
executable_netlist *object
experiment_spec *object
netlist_approval *object

build_course_waveform_demo

Return the bilingual five-waveform course-design contract. With no arguments this returns the safe behavioral reference model. A caller may provide a native Multisim-compatible netlist and analysis commands to keep the same explicit requirement gates while changing the implementation. This tool only builds/validates the contract; use ``run_verified_circuit_experiment`` for measured evidence.

ParameterTypeDescription
commandsstring
component_evidence
experiment_evidence
netliststring

submit_circuit_experiment

Queue a durable, cancellable experiment in an isolated worker process. Prefer this tool for long experiments. Poll ``multisim://jobs/{job_id}`` or call ``get_experiment_job``. Completed jobs return the same experiment result and resource handles as ``run_circuit_experiment``. When approval artifacts are supplied, all three are persisted with the job and verified again inside the isolated worker before execution.

ParameterTypeDescription
commands *string
netlist *string
output_dir *string
executable_netlist
heartbeat_timeoutnumber
job_timeoutnumber
max_pointsinteger
netlist_approval
overwriteboolean
requirements
simulation_plan_approval
theoretical_values
timeoutnumber
titlestring

get_experiment_job

Return durable progress, failure diagnostics, or the completed result.

ParameterTypeDescription
job_id *string

list_experiment_jobs

List recent durable jobs without returning their potentially large results.

ParameterTypeDescription
limitinteger
statestring

cancel_experiment_job

Cancel a queued job or safely stop its isolated worker process.

ParameterTypeDescription
job_id *string

retry_experiment_job

Queue a fresh attempt using a failed, cancelled, or timed-out job spec.

ParameterTypeDescription
job_id *string

schematic_component_catalog

List native component families available to the schematic generator.

ParameterTypeDescription
target_version

disconnect

Disconnect from Multisim and release the open circuit.

open_circuit

Open a Multisim design file and return circuit info.

ParameterTypeDescription
path *string

new_circuit

Create a new empty Multisim design.

circuit_info

Return name, file, simulation state, and last error for the open circuit.

enum_components

List component reference designators. 0 returns all.

ParameterTypeDescription
component_typeinteger

enum_inputs

List simulation inputs. 0 returns all.

ParameterTypeDescription
input_typeinteger

enum_outputs

List simulation outputs. 0 returns all.

ParameterTypeDescription
output_typeinteger

set_output_request

Configure an output request before RunSimulation.

ParameterTypeDescription
output_name *string
methodinteger
num_samplesinteger
repeat_flagboolean
sample_ratenumber

get_output_data

Fetch data for an output that is ready; shape depends on analysis type.

ParameterTypeDescription
output_name *string
max_pointsinteger

run_transient

Run a transient simulation and return downsampled time/real data.

ParameterTypeDescription
output_name *string
durationnumber
max_pointsinteger
num_samplesinteger
repeat_flagboolean
sample_ratenumber
timeoutnumber

run_dc_operating_point

Run DC operating point analysis for the given outputs.

ParameterTypeDescription
output_names *array
max_pointsinteger
timeoutnumber

run_ac_sweep

Run AC sweep and return frequency/real/imag rows.

ParameterTypeDescription
output_names *array
max_pointsinteger
num_pointsinteger
start_frequencynumber
stop_frequencynumber
sweep_typeinteger
timeoutnumber

run_ac_single_frequency

Run AC analysis at a single frequency.

ParameterTypeDescription
output_names *array
frequencynumber
max_pointsinteger
timeoutnumber

set_input_data_sampled

Inject a sampled waveform into a simulation input.

ParameterTypeDescription
input_name *string
sample_rate *number
values *array
repeat_flagboolean

set_input_data_raw

Inject a raw (time, value) waveform into a simulation input.

ParameterTypeDescription
input_name *string
times *array
values *array
repeat_flagboolean

clear_input_data

Clear injected data from a simulation input.

ParameterTypeDescription
input_name *string

stop_simulation

Stop the currently running simulation.

save_circuit

Save the circuit, optionally to a new path.

ParameterTypeDescription
path

get_circuit_image

Export the circuit schematic as an image.

ParameterTypeDescription
path *string
image_formatinteger

report_netlist

Export the SPICE netlist to a text file.

ParameterTypeDescription
path *string
fmtinteger
probes_flagboolean

snapshot_open_circuit

Export the open Multisim circuit into a validated design snapshot. The source ``.ms14`` remains untouched. The exported netlist and snapshot are written only below ``output_dir``; COM enumeration is retained as evidence alongside the parsed ``CircuitDesign``.

ParameterTypeDescription
output_dir *string
allow_unsupportedboolean
fmtinteger
probes_flagboolean

run_native_parameter_sweep

Run an approved, bounded COM sweep and restore every original R/L/C value.

ParameterTypeDescription
approval *object
candidates *array
output_name *string
readiness *object
analysisstring
durationnumber
max_pointsinteger
num_frequency_pointsinteger
num_samplesinteger
sample_ratenumber
start_frequencynumber
stop_frequencynumber
timeoutnumber

rank_native_sweep_results

Rank completed native sweep records against an explicit scalar objective.

ParameterTypeDescription
objective *object
sweep_result *object

prepare_native_sweep_patch

Prepare a standard reversible DesignPatch from the best native sweep result.

ParameterTypeDescription
ranking *object
readiness *object

apply_native_sweep_patch_to_copy

Apply an approved native sweep patch to a new .ms14 copy and reopen the source.

ParameterTypeDescription
approval *object
draft *object
output_path *string

compare_native_sweep_baseline

Compare the best native sweep candidate against the original-value baseline.

ParameterTypeDescription
ranking *object

export_native_sweep_report

Export a bilingual native sweep comparison report and integrity manifest.

ParameterTypeDescription
comparison *object
output_dir *string
optimized_copy_path
sweep_result

report_bom

Export the bill of materials to a text file.

ParameterTypeDescription
path *string
fmtinteger
real_flagboolean

do_command_line

Run an unrestricted Multisim command file when explicitly enabled. This advanced tool is disabled by default because command files can access the filesystem and may expose engine-specific command execution features.

ParameterTypeDescription
command_file *string
log_file *string

run_spice_netlist

Run SPICE through Multisim or ngspice with safe analysis commands. The default path rejects scripting, shell escapes, file commands, and arbitrary command sourcing. Unrestricted engine commands require both the ``unsafe_commands`` argument and an explicit server-side environment flag.

ParameterTypeDescription
commands *string
netlist *string
backendstring
max_pointsinteger
output_dir
overwriteboolean
timeoutnumber
unsafe_commandsboolean

plan_multiboard_engineering_request

Validate a structured multi-board request and return a planning-only contract. This tool never opens Multisim, writes a project, or starts simulation. A feasible candidate may include board-local logical artifacts, but native generation and acceptance remain a separate explicit step.

ParameterTypeDescription
executable_netlist
netlist_approval
request
vendor_contract

select_multiboard_engineering_candidate

Lock a structurally ready multi-board candidate without native execution.

ParameterTypeDescription
plan *object
candidate_index

run_native_multiboard_acceptance

Run or preview native acceptance for a selected structured multi-board request. The request is re-planned and a structurally ready candidate is selected before any schematic or COM work. Preview mode is side-effect free. Execution opens, saves, reopens, reads back and simulates each board in the installed Multisim version, then compares explicit fixture observations and a full-design reference. ``analysis`` accepts ``dc`` (default), ``tran`` or ``ac``. Native results retain complete sampled axes; TRAN and AC compare every aligned sample (AC compares real and imag…

ParameterTypeDescription
output_directory *string
request *
analysisstring
analysis_options
candidate_index
executable_netlist
executeboolean
netlist_approval
target_multisim_versionstring
vendor_contract

plan_model_engineering_request

Use a configured model to propose a requirement, then validate it locally. The model receives one narrow tool and cannot return a schematic, file path, shell command or executable SPICE. The resulting proposal is still only a plan until native execution is requested separately.

ParameterTypeDescription
text *string
allow_failoverboolean
fallback_providers
provider
provider_config_path
timeoutnumber

run_model_engineering_request

Model-propose, locally validate, then optionally run the native RC flow.

ParameterTypeDescription
output_dir *string
text *string
allow_failoverboolean
executeboolean
fallback_providers
provider
provider_config_path
timeoutnumber

submit_model_engineering_request

Queue an auditable model-to-Multisim engineering run. The worker persists the model plan before native execution and exposes the same durable status/SSE contract as other long-running experiment jobs.

ParameterTypeDescription
output_dir *string
text *string
allow_failoverboolean
fallback_providers
heartbeat_timeoutnumber
job_timeoutnumber
model_timeoutnumber
provider
provider_config_path

submit_natural_engineering_job

Queue a native RC, RLC, or OPAMP engineering workflow.

ParameterTypeDescription
kind *string
output_dir *string
text *string
job_timeoutnumber

run_natural_engineering_request

Preview or execute supported natural RC requirements in a new output directory. Explicit execution generates .ms14 files, runs native OP/AC/TRAN for bounded candidates and exports acceptance evidence. No external AI model or source- netlist simulation fallback is used. Review disclosed assumptions in preview.

ParameterTypeDescription
output_dir *string
text *string
executeboolean

plan_natural_engineering_request

Translate a bounded natural-language electrical request into a validated plan. The returned netlist is a proposal only. Callers must review it, create the native schematic, and run native measurements before accepting a design. Ambiguous requirements fail closed instead of selecting an unverified topology.

ParameterTypeDescription
text *string

plan_natural_rlc_engineering_request

Build a bounded RLC contract and SPICE preview without native execution. Native RLC acceptance remains disabled until the corresponding Multisim measurement adapter has passed a real-version regression.

ParameterTypeDescription
text *string

run_natural_rlc_engineering_request

Preview or execute bounded RLC candidates with native Multisim acceptance.

ParameterTypeDescription
output_dir *string
text *string
executeboolean

plan_natural_opamp_engineering_request

Build a bounded non-inverting OPAMP5 contract and SPICE preview.

ParameterTypeDescription
text *string

run_natural_opamp_engineering_request

Preview or execute the bounded non-inverting OPAMP5 native workflow.

ParameterTypeDescription
output_dir *string
text *string
executeboolean

run_generated_analog_project

Build and verify a composed linear analog design in native Multisim 14.3. The host AI translates the user's request into proposal fields: title, application, netlist, probe_nets, experiments (op/ac with commands), checks. Accepts up to 64 R/C/L, DC/AC voltage sources and ideal OPAMP5 devices in any connected topology. Also accepts explicit LM324AJ from a licensed local template pack, with native model identity verification and OP/AC/TRAN sampled checks (no independent ideal-model equivalence). Other vendor models and semiconductors are rejected. Checks contain anal…

ParameterTypeDescription
output_dir *string
proposal *object
executable_netlist
executeboolean
netlist_approval

plan_natural_analog_frontend

Translate a bounded sensor analog-front-end request into a native proposal.

ParameterTypeDescription
text *string

run_natural_analog_frontend

Generate and verify a sensor front end from Chinese/English requirements.

ParameterTypeDescription
output_dir *string
text *string
executeboolean

plan_natural_dc_network

Translate a bounded DC divider request into a native proposal.

ParameterTypeDescription
text *string

run_natural_dc_network

Generate and verify a resistive DC divider from a natural-language request.

ParameterTypeDescription
output_dir *string
text *string
executeboolean

plan_natural_common_emitter

Plan a bounded single-NPN common-emitter amplifier request.

ParameterTypeDescription
text *string

run_natural_common_emitter

Build a bounded 2N3904 amplifier and verify native OP/AC/pulse measurements. Requires a licensed local pack with VDC and VPULSE carriers. Saves the editable schematic, PNG, raw measurements, model/pin checks and report. Success verifies declared sampled conditions; visual review is still needed.

ParameterTypeDescription
output_dir *string
text *string
executeboolean

plan_natural_rectifier

Plan a 4–18 Vrms, 50/60 Hz 1N4001GP bridge with a 5–200 mA resistive load.

ParameterTypeDescription
text *string

run_natural_rectifier

Build a local native bridge, export its schematic/report and verify OP/transient evidence. Requires licensed AC_VOLTAGE and full 1N4001GP carriers. Checks saved values, diode models/pins, input RMS, DC mean, ripple, resistive load current and settling. Preview by default. This bounded simulation does not certify a physical power supply.

ParameterTypeDescription
output_dir *string
text *string
executeboolean

optimize_natural_rectifier

Minimize bridge capacitance by native experiments, tolerance cases and saved-file replay. Preview discloses nine discrete candidates and fixed input/load/capacitance cases. Execution may take several minutes. Keeps every failed candidate, checks startup, reopens the selected saved circuit and exports comparison reports. No physical certification.

ParameterTypeDescription
output_dir *string
text *string
executeboolean

create_schematic_from_netlist

Create an editable Multisim schematic from a supported SPICE netlist. Supports RLC components, scalar/waveform voltage and current sources, B/E/F/G/H/T primitives, modeled semiconductors and switches, OPAMP5, and user-local verified TIMER8/LM555CN and DFF8/7474N native carriers, generic two-to-sixteen-terminal X subcircuits, digital devices, ground, named nets, wiring, and deterministic layout. Compatible inline subcircuits are recursively expanded into editable primitives; unsupported macro-model constructs remain explicit carrier-only evidence. Generated schemati…

ParameterTypeDescription
netlist *string
output_ms14 *string
component_positions
executable_netlist
image_path
include_experimental_probesboolean
netlist_approval
open_after_buildboolean
overwriteboolean
probe_nets
require_layout_passboolean
sheet_size
verifyboolean

run_circuit_experiment

Create a schematic, run a safe Multisim analysis, and export a report. This synchronous compatibility tool blocks until completion. For queueing, progress, cancellation, persisted state, and worker recovery, prefer ``submit_circuit_experiment``.

ParameterTypeDescription
commands *string
netlist *string
output_dir *string
max_pointsinteger
overwriteboolean
timeoutnumber
titlestring

run_verified_circuit_experiment

Run an ExperimentSpec and persist evidence-backed requirement verdicts. When the three approval inputs are supplied, the exact executable-netlist and simulation-plan handoff is revalidated before any schematic or simulation work begins. The legacy direct-spec path remains available for compatibility; it does not claim this additional approval provenance.

ParameterTypeDescription
output_dir *string
spec *object
executable_netlist
max_pointsinteger
netlist_approval
overwriteboolean
simulation_plan_approval
timeoutnumber

diagnose_design

Diagnose a circuit without modifying it or silently guessing repairs. Structural checks require only ``design``. When ``experiment_dir`` is supplied, its artifact integrity manifest and canonical netlist are verified before requirement, convergence, BJT, or op-amp evidence is used. An optional bounded ``simulation_failure`` object may contain code, type, stage, and message fields from a failed run.

ParameterTypeDescription
design *object
experiment_dirstring
simulation_failure

evaluate_design_patch

Retest one explicit reversible patch against its unchanged baseline. The service runs exactly two verified experiments under the same hard requirements, writes before/after deterministic diagnoses and an inverse patch, and never persists the candidate as the source design. A passing result remains subject to the separate local approval workflow.

ParameterTypeDescription
design *object
output_dir *string
patch *object
spec *object
max_pointsinteger
regenerate_source_netlistboolean
timeout_per_experimentnumber

approve_design_patch

Approve one exact patch apply or revert and write its bearer token locally. The one-time token is written to ``token_output`` and is intentionally omitted from the returned MCP payload. Pass exactly one of ``patch_path`` or ``revert_transaction``; this step never changes the design.

ParameterTypeDescription
design_path *string
receipt_path *string
token_output *string
approval_store
in_placeboolean
output_path
patch_path
regenerate_source_netlistboolean
revert_transaction
ttl_secondsinteger

apply_design_patch

Consume a file-backed approval and durably apply one design patch.

ParameterTypeDescription
approval_token_file *string
design_path *string
patch_path *string
receipt_path *string
approval_store
in_placeboolean
output_path
regenerate_source_netlistboolean

revert_design_patch

Consume a separate approval and durably revert one patch transaction.

ParameterTypeDescription
approval_token_file *string
design_path *string
receipt_path *string
transaction_path *string
approval_store
in_placeboolean
output_path
regenerate_source_netlistboolean

recover_design_patch

Recover one abandoned patch journal after its owner process has exited.

ParameterTypeDescription
actionstring
approval_store
journal_path
target_path

approve_verified_design_patch

Approve a patch plus its exact verification and commit contract.

ParameterTypeDescription
design_path *string
experiment_output *string
patch_path *string
receipt_path *string
token_output *string
verification_plan_path *string
workflow_manifest *string
approval_store
in_placeboolean
max_pointsinteger
output_path
regenerate_source_netlistboolean
timeout_secondsnumber
ttl_secondsinteger

apply_verified_design_patch

Run the approved experiment and commit only when every requirement passes.

ParameterTypeDescription
approval_token_file *string
design_path *string
experiment_output *string
patch_path *string
receipt_path *string
verification_plan_path *string
workflow_manifest *string
approval_store
in_placeboolean
max_pointsinteger
output_path
regenerate_source_netlistboolean
timeout_secondsnumber

recover_verified_design_patch

Finalize or safely abort a crash-interrupted verified patch workflow.

ParameterTypeDescription
workflow_manifest *string

optimize_design

Evaluate bounded component-value candidates without modifying the source design. The baseline consumes one experiment from ``spec.max_experiments``. When ``requirement_review`` is supplied, its verified hard constraints and a uniquely matched soft objective fill the spec before validation. Values may be explicit or generated from bounded E12/E24/E48/E96 ranges. Electrical, optional in-stock, and maximum variable-cost rules are hard constraints; failed/unverified candidates are never feasible, and the returned best patch still requires the separate local approval wo…

ParameterTypeDescription
design *object
output_dir *string
spec *object
max_pointsinteger
requirement_review
timeout_per_experimentnumber

evaluate_optimization_layout

Attach bounded single-board layout evidence to an optimization directory. The parameter optimization must already have produced its auditable directory. Every persisted candidate patch is replayed, evaluated by the deterministic layout validator, and ranked together with its electrical objective. ``materialize`` optionally emits candidate ``.ms14`` files; native Multisim save/reopen and simulation acceptance remain a separate explicit gate.

ParameterTypeDescription
base_positions *object
optimization_output_dir *string
fixed_refdes
materializeboolean
materialize_directory
max_candidatesinteger
movesinteger
overwriteboolean
probe_nets
stepnumber

global_optimize_design

Run auditable mixed topology/value multi-objective global optimization. When ``requirement_review`` is supplied, its verified hard constraints and matched soft objectives fill the multi-objective spec before validation. Small declared domains are exhaustive; larger domains use deterministic Halton space filling. Every candidate runs a real verified experiment, failed hard constraints are excluded, and the result contains an epsilon-aware Pareto front. No candidate is persisted automatically.

ParameterTypeDescription
design *object
output_dir *string
spec *object
max_pointsinteger
requirement_review
timeout_per_experimentnumber

submit_global_optimization

Queue durable mixed topology/value Pareto optimization. Completed candidates are integrity-checked and reused after restart. An interrupted candidate is rerun in a new attempt directory. No recommended patch is persisted into the source design automatically.

ParameterTypeDescription
design *object
output_dir *string
spec *object
heartbeat_timeoutnumber
job_timeoutnumber
max_pointsinteger
requirement_review
resume_existingboolean
timeout_per_experimentnumber

autonomous_correct_design

Autonomously diagnose, propose, simulate, and select a repair candidate. The configured model may propose bounded parameter or topology patches, but every candidate is revalidated and simulated locally. The final all-pass candidate is returned as one reversible patch against the original design; applying it remains a separate explicit approval operation.

ParameterTypeDescription
design *object
output_dir *string
spec *object
allow_failoverboolean
fallback_providers
max_pointsinteger
model_timeoutnumber
provider
provider_config_path
requirement_review
timeout_per_experimentnumber

submit_autonomous_correction

Queue durable model-planned correction with round-level recovery. The persisted provider configuration is validated and secret-free: it contains only endpoint/model metadata and environment-variable names. API keys are resolved by the isolated worker and are never written to job state. Completed rounds are evidence-revalidated; an incomplete planning round is replanned in a new attempt directory. No patch is applied automatically.

ParameterTypeDescription
design *object
output_dir *string
spec *object
allow_failoverboolean
fallback_providers
heartbeat_timeoutnumber
job_timeoutnumber
max_pointsinteger
model_timeoutnumber
provider
provider_config_path
requirement_review
resume_existingboolean
timeout_per_experimentnumber

submit_design_optimization

Queue a durable optimization with candidate-level crash recovery. Completed candidates are evidence-verified and reused after a worker or MCP restart. An interrupted candidate is rerun in a new attempt directory. The result still returns only a proposed patch and never modifies the design. Set ``resume_existing`` only to adopt a matching interrupted output folder.

ParameterTypeDescription
design *object
output_dir *string
spec *object
heartbeat_timeoutnumber
job_timeoutnumber
max_pointsinteger
requirement_review
resume_existingboolean
timeout_per_experimentnumber

compare_design_variants

Rank complete designs or approved in-memory patches using one contract. A normal item contains exactly ``variant_id`` and ``design``. A patch item contains exactly ``variant_id`` and ``patch`` and requires ``base_design``; the patch is validated and applied in memory before the same experiment service evaluates it. Patch JSON is persisted beside the candidate design for review. All requirements remain hard constraints, only finite measured passes are ranked, and no source design is modified or automatically adopted.

ParameterTypeDescription
output_dir *string
spec *object
variants *array
base_design
max_pointsinteger
regenerate_source_netlistboolean
timeout_per_experimentnumber

run_experiment_sweep

Run a transactional parameter, tolerance, temperature, or Monte Carlo sweep.

ParameterTypeDescription
output_dir *string
spec *object
max_pointsinteger
overwriteboolean
timeout_per_runnumber

submit_experiment_sweep

Queue a durable sweep in the same isolated, cancellable worker system.

ParameterTypeDescription
output_dir *string
spec *object
heartbeat_timeoutnumber
job_timeoutnumber
max_pointsinteger
overwriteboolean
timeout_per_runnumber

generate_report

Write a Markdown report for the open circuit and analysis results.

ParameterTypeDescription
output_path *string
analyses
include_bomboolean
include_imageboolean
include_netlistboolean
titlestring

get_rlc_value

Read the current value of an R/L/C component through RLCValue.

ParameterTypeDescription
component_name *string

set_rlc_value

Set an R/L/C component value through SetRLCValue.

ParameterTypeDescription
component_name *string
value *number

decode_ms14

Decode a .ms14 file to editable XML using ewd.

ParameterTypeDescription
path *string
output_xml

encode_ms14

Encode an XML design back to .ms14 using ewe.

ParameterTypeDescription
source_xml *string
output_ms14

list_component_positions

List the sheet position (x, y) of every component in an .ms14 file. Decodes the design with the packaged ewd codec and reads each component symbol's translation pair (Transformer-M20/M21). No Multisim session is required. With ``output_xml`` the decoded XML is also written there for offline inspection.

ParameterTypeDescription
path *string
output_xml

set_component_positions

Move components inside an .ms14 file to new sheet coordinates. ``positions`` maps refdes -> [x, y] in sheet units (the builder's auto-layout grid step is 270 x 216; use ``list_component_positions`` to read current values). ``mode="relative"`` treats the values as deltas; ``anchor="pin_center"`` matches the builder's component_positions anchor; ``snap`` rounds onto a grid (9 pt = the builder's normalization grid). Batch-safe: any number of components moves in ONE decode/edit/encode cycle. Attached wires are re-routed with the same obstacle-aware router used at…

ParameterTypeDescription
path *string
positions *object
anchorstring
modestring
output_ms14
overwriteboolean
snapnumber

check_component_overlap

Report components whose bodies overlap in an .ms14 file (no COM call). Uses each component's pin-hull box plus ``clearance`` (the same geometry the wire router treats as an obstacle), so it tells you exactly where a dense custom layout would force wires through symbol bodies. Pure decode + geometry: runs in seconds and is the fast pre-check to run after ``set_component_positions`` or before rebuilding a board.

ParameterTypeDescription
path *string
clearancenumber

validate_layout_positions

Dry-run a custom layout and report geometry findings in seconds. By default this runs the real builder (obstacle-aware routing included) into a scratch directory -- no Multisim launch, no files kept -- and returns the geometry preflight: final placements, component-overlap pairs, wire-through-body points and the resulting sheet size. With ``optimize=true, materialize=true`` and an explicit ``output_ms14``, the selected candidate is instead regenerated into a new file for the next native save/reopen and simulation gate.

ParameterTypeDescription
netlist *string
fixed_refdes
include_experimental_probesboolean
materializeboolean
max_candidatesinteger
movesinteger
optimizeboolean
output_ms14
overwriteboolean
positions
probe_nets
sheet_size
stepnumber

set_sheet_size

Enlarge (or shrink) an .ms14 design's page and GUI working area. Sizes are inches at 96 dpi. Both page stores are kept in sync: the CircPrefs sheet dimensions that drive the image/export API and the DesignSheet WorkArea rectangle the GUI displays (a fixed A4 work area used to clip larger schematics on screen). Components are not moved. When ``output_ms14`` is omitted the source file is updated in place after a one-time ``*.sheet-backup.ms14`` copy is saved next to it.

ParameterTypeDescription
height_inch *number
path *string
width_inch *number
output_ms14
overwriteboolean