mat_remove
Delete a material from a COMSOL component or global definitions by specifying its material tag, optional component tag, and model. Use it to clean up assigned materials in a model.
Instructions
Remove a material from a component (or from global definitions).
Args: tag: material tag, e.g. "mat1". component: component tag (default "comp1"); "" or "global". 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>"
},
"name": "mat_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| model | No | ||
| component | No | comp1 |