mat_duplicate
Clone a material as a deep copy with an optional new name, returning the new material name. Use it to create material variants while keeping the original unchanged.
Instructions
克隆一个材质(深拷贝),可选新名称,返回新材质名。用于在不破坏原材质的前提下改一套变体。 [English] Clone a material (deep copy) with an optional new name; returns the new material name. Use it to derive variants without touching the original.
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": {
"material": "<material>"
},
"name": "mat_duplicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 新材质名称;省略则原名为加 _copy。 | New name; defaults to original + _copy. | |
| material | Yes | 要克隆的材质名称。 | Material to clone. |