set_environment
Configure arcpy geoprocessing environment settings like workspace, extent, cell size, and overwriteOutput to control how tools run in an ArcGIS Pro session.
Instructions
Set arcpy geoprocessing environment settings such as workspace, outputCoordinateSystem, extent, mask, cellSize, overwriteOutput or parallelProcessingFactor.
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": {
"settings": "<settings>"
},
"name": "set_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | Yes | Environment name/value pairs, e.g. {"overwriteOutput": true, "workspace": "D:/data/project.gdb"}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |