model_load
Load a COMSOL model from a .mph file to make it available for simulation or analysis. Optionally set it as the active model for subsequent operations.
Instructions
Load a COMSOL model from a .mph file.
Args: file_path: Absolute or relative path to the .mph model file set_current: Whether to set this as the current active model (default: True)
Returns: Model info including name, file path, and version, 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": {
"file_path": "<file_path>"
},
"name": "model_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| set_current | No |