Add Vector Layer
add_vector_layerAdd vector layers such as shapefiles, feature classes, GeoJSON, or GeoPackage to the active or named map in your ArcGIS Pro project.
Instructions
Add a vector layer (shapefile, feature class, GeoJSON, GeoPackage, ...) to the active map (or a named map). Confirm the path with list_directory first.
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 | ||
| map_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||