comsol_open
Opens a .mph COMSOL model or creates a new empty model, then makes it the current object for subsequent geometry, mesh, and solve operations.
Instructions
打开一个 .mph 模型,或新建空模型(new=true)。path 支持中文和相对路径(相对 comsol-bridge 目录)。打开后该模型成为当前操作对象。对于大模型(>50MB)加载可能需要几十秒。
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": "comsol_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | No | ||
| name | No | ||
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |