Toggle Layer Labels
arcgis_pro_toggle_layer_labelsTurn layer labels on or off in an ArcGIS Pro map by specifying the project, map, layer, and visibility state.
Instructions
ArcGIS Pro:切换图层。返回可验证的结构化结果;写入和路径限制以服务能力为准。
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>",
"map_name": "<map_name>",
"layer_name": "<layer_name>",
"show_labels": "<show_labels>"
},
"name": "arcgis_pro_toggle_layer_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | Yes | ||
| aprx_path | Yes | ||
| layer_name | Yes | ||
| show_labels | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||