duplicate_material_expression
Duplicate a material expression node with identical properties at an offset position, returning the new node index. Connections are not copied.
Instructions
Duplicate a node (same type and properties, offset from original).
Returns the new node_index. Connections are NOT copied.
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_path": "<material_path>",
"node_index": "<node_index>"
},
"name": "duplicate_material_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset_x | No | ||
| offset_y | No | ||
| node_index | Yes | ||
| material_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |