creo_create_safe_parameter_copy
Creates a new copy of the active Creo part with a specified parameter changed, regenerating only the copy. Never overwrites existing files or alters the source model.
Instructions
把当前 Creo 零件复制为新文件,只在副本中写入允许的参数并重生成;绝不覆盖已有文件,也不保存源模型。
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": {
"expected_model": "<expected_model>",
"copy_name": "<copy_name>",
"parameter": "<parameter>",
"new_value": "<new_value>"
},
"name": "creo_create_safe_parameter_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy_name | Yes | 新副本名(不含 .prt),仅允许字母、数字、下划线和短横线。 | |
| new_value | Yes | ||
| parameter | Yes | ||
| expected_model | Yes | 当前模型名(不含 .prt),用于防止操作错模型。 |