run_geoprocessing
Execute any ArcPy geoprocessing tool by its dotted name and parameters. Use it to run spatial analysis, data management, and conversion operations directly in ArcGIS Pro.
Instructions
Run any ArcPy geoprocessing tool by its dotted name.
Args: tool: Dotted tool name, e.g. "analysis.Buffer", "management.CopyFeatures", "conversion.FeatureClassToShapefile" params: List of positional parameters for the tool, e.g. ["roads", "output_buf", "100 Meters"]
Example: run_geoprocessing("analysis.Buffer", ["C:/data/roads.shp", "C:/data/roads_buf.shp", "500 Meters"])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |