set_color_ramp
Configure a material's Color Ramp node by defining color stops and interpolation method (LINEAR, EASE, etc.) for shader control.
Instructions
设置 Color Ramp:stops=[{position, color}],interpolation: LINEAR/EASE/CONSTANT/B_SPLINE/CARDINAL。
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>",
"node": "<node>",
"stops": "<stops>"
},
"name": "set_color_ramp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| stops | Yes | ||
| material | Yes | ||
| interpolation | No |