comsol_geometry
Manage COMSOL geometry features by creating, updating, listing, deleting, and rebuilding 2D/3D blocks, cylinders, spheres, imports, and Boolean operations; auto-creates missing components.
Instructions
通用几何工具。action=list 列出现有几何和特征;create 新建特征(feature_type 如 Block/Cylinder/Sphere/Rectangle/Circle/Import/Union/Difference);update 改属性;delete 删除特征;run 重建几何。properties 是属性字典,如 {"size": ["0.1","0.1","0.1"], "pos": ["0","0","0"]}。模型没有组件/几何时会自动创建(dimension 指定 2 或 3)。
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_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| action | No | list | |
| geometry | No | ||
| component | No | ||
| dimension | No | ||
| properties | No | ||
| feature_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |