set_layer_renderer
Sets a layer's symbology in ArcGIS Pro: choose a single symbol, unique values by category, or a graduated colour or size scheme driven by a numeric field.
Instructions
Change a layer's symbology: a single symbol, unique values by category, or a classified/continuous colour scheme by numeric field.
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_layer_renderer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Fill colour for simple symbology as [r, g, b] or [r, g, b, alpha]. | |
| field | No | Field to symbolise by (all types except simple). | |
| label | No | Legend label for simple symbology. | |
| fields | No | Several fields for unique_values symbology. | |
| map_name | No | Map to act on; defaults to the active map. | |
| color_ramp | No | Colour ramp name, e.g. "Viridis" -- see list_color_ramps. | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. | |
| break_count | No | Number of classes for graduated symbology. | |
| symbol_size | No | Point/line symbol size in points. | |
| class_colors | No | Explicit colour per class for graduated symbology, lowest class first, e.g. [[244,166,166],[249,220,164],[147,203,163]]. Use it when no built-in ramp has the colours you want. | |
| transparency | No | Layer transparency 0-100. | |
| value_colors | No | Explicit colours per category for unique_values, e.g. {"Forest": [34, 139, 34]}. | |
| outline_color | No | Outline colour as [r, g, b]. | |
| outline_width | No | Outline width in points. | |
| renderer_type | No | simple, unique_values, graduated_colors, graduated_symbols or unclassed_colors. | simple |
| max_symbol_size | No | Largest size for graduated_symbols. | |
| min_symbol_size | No | Smallest size for graduated_symbols. | |
| classification_method | No | NaturalBreaks, EqualInterval, Quantile, StandardDeviation, GeometricInterval or DefinedInterval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |