mat_library_save
Save a set of materials to a .mat library file, or all Material Editor slots if none are specified.
Instructions
把一组材质保存为 .mat 材质库文件。省略 materials 时保存材质编辑器所有槽位上的材质。 [English] Save a set of materials to a .mat library file. Omit materials to save everything in the Material Editor slots.
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": {
"path": "<path>"
},
"name": "mat_library_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | .mat 文件保存路径。 | .mat save path. | |
| materials | No | 要保存的材质名称列表;省略则保存编辑器全部槽位。 | Material names to save; omit to save all editor slots. |