raster_algebra
Adds or subtracts two raster bands and saves the result, enabling band-level raster math for change detection and index calculations in GIS workflows.
Instructions
Add or subtract two raster bands and save the result.
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": {
"raster1": "<raster1>",
"raster2": "<raster2>",
"band_index": "<band_index>",
"operation": "<operation>",
"destination": "<destination>"
},
"name": "raster_algebra"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raster1 | Yes | ||
| raster2 | Yes | ||
| operation | Yes | ||
| band_index | Yes | ||
| destination | Yes |