write_material
Create Radiance material files for glass or plastic surfaces, defining material type, name, and optical properties like roughness and specularity.
Instructions
Write Radiance material .rad file(s). material_type 0=glass,1=plastic. Honors client roots for work_dir.
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": {
"channels": "<channels>",
"material_type": "<material_type>",
"channel_type": "<channel_type>",
"name": "<name>"
},
"name": "write_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| channels | Yes | ||
| work_dir | No | ||
| roughness | No | ||
| specularity | No | ||
| channel_type | Yes | ||
| material_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||