tile_url_template
Generate an XYZ tile URL template for web maps from a STAC item. Supports band math expressions and colormaps for index layers like NDVI.
Instructions
XYZ tile URL template ({z}/{x}/{y}) for a STAC item, for web maps.
For index layers (NDVI etc.) pass expression over asset names, e.g. "(nir-red)/(nir+red)" with rescale="-1,1" and colormap_name="rdylgn" — supported on earth-search; ignored for veda/planetary-computer.
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": {
"catalog": "<catalog>",
"collection_id": "<collection_id>",
"item_id": "<item_id>"
},
"name": "tile_url_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | No | ||
| catalog | Yes | ||
| item_id | Yes | ||
| rescale | No | ||
| expression | No | ||
| collection_id | Yes | ||
| colormap_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |