phys_toggle_feature
Enable, disable, or toggle a COMSOL physics feature by interface and feature tag, optionally for a specific model, to control which physics effects remain active in simulations.
Instructions
Enable/disable a physics feature (None = flip its current state).
Args: interface: interface tag/label/type (e.g. "ht"). feature: feature tag/label (e.g. "temp1"). active: True=enable, False=disable, None=toggle. 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": "phys_toggle_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| active | No | ||
| feature | Yes | ||
| interface | Yes |