remove_color_ramp_element
Remove a color stop from a ColorRamp node in Blender by providing the material name, node name, and stop index. At least one stop must remain.
Instructions
Remove a colour stop from a ColorRamp node.
Blender requires at least one stop to remain; removing the last one fails.
Args: material_name: Name of the material. node_name: Name of the ColorRamp node. index: Zero-based index of the stop to remove.
Returns: Dict with the removed index and the remaining element count.
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_name": "<material_name>",
"node_name": "<node_name>",
"index": "<index>"
},
"name": "remove_color_ramp_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| node_name | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||