dem_watershed
Computes watershed flow accumulation for a bounding box using the D8 algorithm, identifying streams and drainage channels for hydrological analysis and flood risk assessment.
Instructions
Compute watershed flow accumulation for a bounding box.
Uses the D8 algorithm to compute flow direction and accumulation. High accumulation values indicate streams and drainage channels. Useful for hydrological analysis and flood risk assessment.
Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) output_format: Output format (geotiff or png) output_mode: "json" or "text"
Returns: Flow accumulation raster artifact with value range in cells
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": {
"bbox": "<bbox>"
},
"name": "dem_watershed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | ||
| source | No | cop30 | |
| output_mode | No | json | |
| output_format | No | geotiff |