mat_set_slot
Assign a material to a specified Material Editor slot (1-24) to display newly created materials in the editor.
Instructions
把一个材质放进材质编辑器的指定槽位(1..24)。常用于把新建材质显示到编辑器里。 [English] Put a material into a Material Editor slot (1..24). Handy to surface a freshly created material in the editor.
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": {
"slot": "<slot>",
"material": "<material>"
},
"name": "mat_set_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | 槽位编号 1..24。 | Slot index 1..24. | |
| material | Yes | 材质名称。 | Material name. |