solver_feature_add
Add a solver-configuration feature to a COMSOL solver sequence, specifying feature type, parent path, tag, and properties to build or extend solver setups.
Instructions
Add a solver-configuration feature to a solver sequence.
Args: sequence: solver sequence tag (None = the only one). feature_type: COMSOL solver feature type: "FullyCoupled", "Segregated", "Direct", "Iterative", "Multigrid", "SOR", "Jacobi", "IncompleteLU", "Stationary", "Time", "Eigenvalue", "StudyStep", "Variables", ... (catalog_types("solver")). tag: feature tag (None = automatic from the type, e.g. "fc1"). parent: parent feature path (None = the sequence root). Linear solvers/coupling features usually belong inside a solver feature, e.g. parent="s1". properties: feature properties to set, e.g. {"linsolver": "pardiso"} for a Direct feature. 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": "solver_feature_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| model | No | ||
| parent | No | ||
| sequence | No | ||
| properties | No | ||
| feature_type | Yes |