run_geoprocessing_tool
Runs any arcpy geoprocessing tool on live ArcGIS Pro layers, applying selections and definition queries; call describe_geoprocessing_tool first if parameter names are unknown.
Instructions
Run any arcpy geoprocessing tool -- the universal escape hatch for analysis. Layer names resolve to live layers so selections and definition queries apply. Call describe_geoprocessing_tool first if the parameter names are not known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Positional parameters instead of keywords. | |
| map_name | No | Map to act on; defaults to the active map. | |
| overwrite | No | Temporarily allow overwriting outputs. | |
| tool_name | Yes | e.g. "analysis.Buffer", "management.Dissolve", "sa.Slope" or "Buffer_analysis". | |
| add_to_map | No | Add the tool's outputs to the map. | |
| parameters | No | Keyword parameters, e.g. {"in_features": "roads", "out_feature_class": "roads_buf", "buffer_distance_or_field": "500 Meters"}. | |
| checkout_extension | No | Extension to check out for this run, e.g. "Spatial" or "3D". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |