geom_set_properties
Set properties on a COMSOL geometry feature using unit-aware values, and optionally rebuild the geometry to apply changes.
Instructions
Set properties on a geometry feature (expressions may include units).
Args: tag: feature tag (e.g. "blk1"). properties: dict of property name -> value, e.g. {"size": ["0.2","0.1","0.05"]} or {"r": "0.01"}. Invalid names return the available properties. build: rebuild the geometry after setting (default false). geometry: geometry sequence tag (default "geom1"). 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": {
"tag": "<tag>",
"properties": "<properties>"
},
"name": "geom_set_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| build | No | ||
| model | No | ||
| geometry | No | geom1 | |
| properties | Yes |