Update Legend Items
arcgis_pro_update_legend_itemsUpdate ArcGIS Pro legend items by setting layer visibility for a specified layout and legend, returning structured results for verification.
Instructions
ArcGIS Pro:更新update legend items。返回可验证的结构化结果;写入和路径限制以服务能力为准。
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": {
"aprx_path": "<aprx_path>",
"layout_name": "<layout_name>",
"legend_name": "<legend_name>",
"layer_visibility": "<layer_visibility>"
},
"name": "arcgis_pro_update_legend_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aprx_path | Yes | ||
| layout_name | Yes | ||
| legend_name | Yes | ||
| layer_visibility | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||