focal_statistics
Calculates moving-window raster statistics—mean, min, max, or standard deviation—using a configurable pixel-width window for local spatial analysis.
Instructions
Moving-window statistic on a raster. statistic is mean, min, max, or std. size is the window width in pixels.
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": {
"raster_path": "<raster_path>",
"statistic": "<statistic>"
},
"name": "focal_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| statistic | Yes | ||
| output_path | No | ||
| raster_path | Yes |