material_apply
Apply a material to an actor's mesh component by asset path, optionally targeting a specific slot or component. Returns validation.
Instructions
Apply a material to an actor's mesh component. Returns validation by default.
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": {
"actor_name": "<actor_name>",
"material_path": "<material_path>"
},
"name": "material_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_name | No | Material slot name (overrides slot_index if both provided) | |
| actor_name | Yes | Label of the target actor | |
| slot_index | No | Material slot index (default 0) | |
| material_path | Yes | Asset path of the material to apply | |
| component_name | No | Specific mesh component name (default: first mesh found) |