add_vector_layer
Add a vector layer from shapefile, feature class, or GeoJSON to the active ArcGIS Pro map.
Instructions
Add a vector layer (shapefile, feature class, GeoJSON, etc.) to the active map.
Args: path: Full path to the data source (e.g. C:/data/roads.shp or a feature class path)
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": {
"path": "<path>"
},
"name": "add_vector_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |