study_duplicate
Duplicates a COMSOL study node under an optional new tag and returns an actionable error suggesting model_clone when the API does not support copying.
Instructions
Duplicate a study node (best effort - unsupported by COMSOL 6.4 API).
Args: study: tag of the study to duplicate. new_tag: tag for the copy (None = automatic "_copy"). model: model name/tag (None = current model).
Note: the COMSOL 6.4 client API rejects Study.duplicate()/copy() with
"unsupported operation"; this tool then returns an actionable error and
suggests model_clone. It is kept for future COMSOL versions.
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": {
"study": "<study>"
},
"name": "study_duplicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| study | Yes | ||
| new_tag | No |