run_geoprocessing_tool
Run any arcpy geoprocessing tool by specifying its name and parameters. Use layer names from the active map as inputs to process geographic data.
Instructions
Run any arcpy geoprocessing tool. tool_name like "analysis.Buffer" or
"Buffer_analysis". Pass keyword parameters in parameters (preferred) or
positional values in args. Layer names in the active map can be used as
inputs. Example: tool_name="analysis.Buffer", parameters={"in_features":
"roads", "out_feature_class": "roads_buf", "buffer_distance_or_field":
"100 Meters"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| tool_name | Yes | ||
| parameters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |