comsol_screenshot
Captures the COMSOL Desktop window as a PNG for AI inspection, saving to a specified file or the out/ directory when no path is provided.
Instructions
截取 COMSOL Desktop 窗口为 PNG,让 AI 看到用户当前的界面和模型。file 为空时输出到 out/ 目录。窗口未找到时返回错误。
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_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |