quick_stats
Calculate zonal statistics for a spectral index inside a GeoJSON polygon from a Sentinel-2 scene.
Instructions
Return zonal index statistics inside a WGS84 GeoJSON polygon.
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": {
"scene_id": "<scene_id>",
"polygon": "<polygon>"
},
"name": "quick_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| polygon | Yes | ||
| scene_id | Yes | ||
| index_name | No | NDVI | |
| all_touched | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||