ap_material_assign
Look up a scene object and a material by name, then apply the material to the object to change its appearance.
Instructions
Assign an existing material to a scene object. Both are looked up by name, and a material's name is its node-canvas name (what ap_material_get_active reports).
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": {
"object": "<object>",
"material": "<material>"
},
"name": "ap_material_assign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | Object name. | |
| material | Yes | Material name. |