run_analysis
Runs structural analysis in MIDAS NX using a preview-then-confirm workflow; requires an already-saved document because NX saves over the file before analyzing.
Instructions
Run the analysis in NX (POST /doc/ANAL). Two steps: preview, then apply.
NX saves the open document over its file before analysing (leaving a .bak), unsaved changes included, even when it then refuses the analysis. So this needs a document that has been saved before, seen in the NX window title on this PC; a new, never-saved document would raise a Save As dialog that blocks NX, and is refused here.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product": "<product>"
},
"name": "run_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | ||
| confirm_token | No |