phys_set_property
Set a single property on a COMSOL physics feature, such as a temperature boundary condition value, using COMSOL unit syntax. Invalid property names return available properties and close matches.
Instructions
Set one property on a physics feature (e.g. T0 of a temperature BC).
Invalid property names return the available properties and close matches. Expressions use COMSOL unit syntax: "400[K]", "1e4[W/m^2]".
Args: interface: interface tag/label/type (e.g. "ht"). feature: feature tag or label (e.g. "temp1"). name: COMSOL property name (e.g. "T0", "q0_input", "h", "V0"). value: property value (string with units, number, bool or list). 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": {
"interface": "<interface>",
"feature": "<feature>",
"name": "<name>",
"value": "<value>"
},
"name": "phys_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | No | ||
| value | Yes | ||
| feature | Yes | ||
| interface | Yes |