comsol_start
Connects to or starts a COMSOL backend on a given port, using all CPU cores by default, to enable live multiphysics modeling and solving.
Instructions
连接或启动 COMSOL 后端。默认端口 2036:如果该端口已有 server 就连接它(例如 Desktop 已连上的 server),否则启动一个新的 server。cores 为 0 表示使用全部核心。首次启动约 10-20 秒。
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_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| cores | No | ||
| version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |