library_load
Loads an installed COMSOL example model (.mph) into the running session by model ID or absolute path, opening the original read-only and preserving companion .mphbin data.
Instructions
Load an installed COMSOL example model (.mph) into the running session.
The original file is opened read-only; use model_save / library_run to write a copy into the workspace. Models with companion .mphbin data must be loaded from their installed path (this tool always does that).
Args: id_or_path: model id (from library_search) or absolute .mph path. name: optional name for the loaded model (default: file stem).
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": {
"id_or_path": "<id_or_path>"
},
"name": "library_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| id_or_path | Yes |