model_save_version
Save a model with a timestamp version suffix to maintain version history. Creates a versioned file and a 'latest' copy for easy iteration.
Instructions
Save a model with a timestamp version suffix.
Creates a new file with structured path: ./comsol_models/{model_name}/{model_name}_{timestamp}.mph
Also saves a 'latest' copy: ./comsol_models/{model_name}/{model_name}_latest.mph
Useful for version control and design iterations.
Args: model_name: Name of the model to save (default: current model) description: Optional description for this version (stored in metadata)
Returns: Save confirmation with versioned file path, or error message
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "model_save_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | No | ||
| description | No |