create_feature
Add a geometry feature to a COMSOL model by specifying component, geometry, and feature type, with optional initial properties and automatic geometry update.
Instructions
Create a geometry feature and optionally apply initial properties.
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": {
"component": "<component>",
"geometry": "<geometry>",
"tag": "<tag>",
"feature_type": "<feature_type>"
},
"name": "create_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component | Yes | ||
| geometry | Yes | ||
| tag | Yes | ||
| feature_type | Yes | ||
| properties_json | No | [] | |
| run_geometry | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |