model_set_current
Sets the active COMSOL model so later geometry, physics, mesh, study, and result operations apply to the intended model. Use it when multiple models are open.
Instructions
Set the current active model for subsequent operations.
Args: model_name: Name of the model to set as current
Returns: Confirmation or error message
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": {
"model_name": "<model_name>"
},
"name": "model_set_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes |