save_copy
Save the open model as a new copy in the output folder using a preview-then-apply step. Use it to give a never-saved document a file before running analysis.
Instructions
Save the model as a new file in the output folder (POST /doc/SAVEAS). Two steps: preview, then apply.
Like Save As in NX: from then on NX works on the copy, so the window, later saves and run_analysis use it, and the original file stays as it was last saved. The name is generated (mcp-save--, .mgbx for Gen, .mcbz for Civil). Also the way to give a never-saved document a file, which run_analysis needs.
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": "save_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | ||
| confirm_token | No |