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"])
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": {
"tool": "<tool>",
"params": "<params>"
},
"name": "run_geoprocessing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |