openvsp.set_parameters
Apply typed parameter edits from openvsp.query in one OpenVSP load/update. Validates limits, verifies readback, and replaces the source file only after all edits pass.
Instructions
Apply typed parameter ID/value edits obtained from openvsp.query in one OpenVSP load/update. Verifies limits and final readback, retains run artifacts and replaces the source after validation; rejects concurrent source changes. No VSPAERO solve; use openvsp.modify when trusted AngelScript commands are needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Source model and typed edits that replace it after validation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timings | No | Measured operation phase durations in seconds; available phase keys depend on execution. | |
| log_path | Yes | Absolute path to the retained OpenVSP process log. | |
| versions | No | Package version, MCP SDK version and package SHA-256, with observed native versions when available. Package identity changes on source/metadata updates. | |
| warnings | No | Reference/unit/atmospheric consistency warnings and omitted undefined ratios; no automatic corrections. | |
| artifacts | No | Mapping of run-relative artifact names to absolute file paths; files remain after the call. | |
| operation | No | Executed operation: create, modify, preview, preflight or run_vspaero; reflects the enforced operation rather than the legacy input flag. | run_vspaero |
| preflight | No | Selected thick/thin geometry IDs and requested settings when preflight ran; empty otherwise. Does not certify mesh quality. | |
| result_path | No | Absolute path to the solver .adb result; null for operations without a VSPAERO solve. | |
| script_path | Yes | Absolute path to the retained AngelScript automation script. | |
| coefficients | No | Native polar column names and finite unscaled values for a verified solve; empty otherwise. Undefined ratios are omitted with reasons in numerical_quality.unavailable_coefficients. Includes condition columns; AoA/Beta are degrees and Re/1e6 is Reynolds in millions. | |
| geometry_path | Yes | Absolute path to the validated model saved in the run directory, including for source-replacing edits. | |
| manifest_path | Yes | Absolute path to this operation's manifest.json; pass as manifest_file to openvsp.read_results. | |
| run_directory | Yes | Absolute path to the unique persistent directory containing this operation's artifacts. | |
| analysis_inputs | No | Requested analysis settings for solve/preflight, including defaults; empty for other operations. Units follow VSPAeroSettings and no conversion is applied. | |
| parameter_values | No | Final native readback values keyed by edited parameter ID; native units, empty when no parameters were edited. | |
| numerical_quality | No | Observed iteration-history diagnostics for a solve; convergence is not_assessed and mesh study not_performed. Empty for non-solver operations. | |
| effective_settings | No | Verified solver-file values and observed CPU-thread information for a solve; empty before solving. Separate from requested analysis_inputs. |