set_raster_symbology
Configure a raster layer's colorizer and color ramp to control its display in ArcGIS Pro. Supports stretch, classify, unique values, and RGB.
Instructions
Set a raster layer's colorizer and colour ramp.
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": {
"layer_name": "<layer_name>"
},
"name": "set_raster_symbology"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| colorizer | No | stretch, classify, unique_values or rgb. | stretch |
| color_ramp | No | Colour ramp name, e.g. "Elevation #1". | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. | |
| break_count | No | Number of classes for classify. | |
| stretch_type | No | MinimumMaximum, StandardDeviation, PercentClip, HistogramEqualize, ... | |
| transparency | No | Layer transparency 0-100. | |
| classification_method | No | Classification method. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |