session_connect
Connects to an already running COMSOL Multiphysics server using host and port so you can reuse an existing session for modeling and simulation tasks.
Instructions
Connect to an already running COMSOL server (comsolmphserver).
Args: port: TCP port the COMSOL server listens on (default COMSOL port is 2036). host: hostname or IP of the server (default localhost).
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": {
"port": "<port>"
},
"name": "session_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| port | Yes |