comsol_solve
Runs a COMSOL study to obtain simulation results; set background=true to return a job_id for tracking via comsol_status while the solve continues.
Instructions
运行研究(求解)。study 为空时用第一个研究。background=true 时立即返回 job_id,求解在后台进行,之后用 comsol_status 查看 job_status/耗时/结果;只有 status 可以在求解期间调用,其他修改类工具会快速返回 MODEL_BUSY。
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_solve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| study | No | ||
| background | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |