get_color_ramp
Read all color stops from a ColorRamp node in a Blender material. Use this to inspect current stop indices, positions, and colors before editing.
Instructions
Read every stop on a ColorRamp node.
Use this before editing to learn the current indices and positions, since add and move operations reorder stops.
Args: material_name: Name of the material. node_name: Name of the ColorRamp node.
Returns: Dict with elements (index, position, color), interpolation, color_mode.
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>"
},
"name": "get_color_ramp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_name | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||