add_material
Add a material with thermal properties to a CFAST model for use in compartment surfaces or targets. Define conductivity, density, specific heat, thickness, and emissivity.
Instructions
Add a material to a model.
A compartment can reference this material by id for its ceiling, wall or floor surfaces, or a target.
Parameters
model_id : str Id of the model to modify, as returned by create_model. id : str A one-word (no more than 8 characters) unique identifier for the material, used in other inputs to reference it. material : str A descriptive name for the material. conductivity : float Thermal conductivity for the material. Default units: W/(m·K). density : float Density for the material. Default units: kg/m³. specific_heat : float Specific heat for the material. Default units: kJ/(kg·K). thickness : float Thickness of the material. Default units: m. emissivity : float, optional Emissivity of the material surface; the fraction of radiation that is absorbed by the material. Default units: none, default value: 0.9.
Returns
str Confirmation, the updated model summary, and any warnings.
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": {
"model_id": "<model_id>",
"id": "<id>",
"material": "<material>",
"conductivity": "<conductivity>",
"density": "<density>",
"specific_heat": "<specific_heat>",
"thickness": "<thickness>"
},
"name": "add_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| density | Yes | ||
| material | Yes | ||
| model_id | Yes | ||
| thickness | Yes | ||
| emissivity | No | ||
| conductivity | Yes | ||
| specific_heat | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |