geom_add
Creates and optionally builds any COMSOL geometry feature, such as blocks, cylinders, fillets, arrays, or imports, using catalog types and properties for a selected model and geometry sequence.
Instructions
Create any geometry feature (type from the geometry catalog).
Args: feature_type: COMSOL geometry feature type, e.g. "Block", "Cylinder", "Difference", "Array", "BoxSelection", "Fillet3D", "Import". Invalid types return suggestions from the catalog. tag: feature tag (None = generated from the catalog tag prefix). label: optional display label. properties: dict of feature properties, e.g. {"size": ["0.1","0.05","0.02"]}. build: build the sequence after creating the feature (default true). geometry: geometry sequence tag (default "geom1"). component: component tag (None = auto). model: model name/tag (None = current model).
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": {
"feature_type": "<feature_type>"
},
"name": "geom_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| build | No | ||
| label | No | ||
| model | No | ||
| geometry | No | geom1 | |
| component | No | ||
| properties | No | ||
| feature_type | Yes |