preview_item
Generate a browser-openable PNG preview URL for a STAC item, routing to the correct raster backend per catalog and supporting optional rescale.
Instructions
Get a browser-openable PNG preview URL for a STAC item.
Routes to the right raster backend per catalog: titiler.xyz for Earth Search, NASA VEDA's raster API, or Planetary Computer's signing data API. Optional rescale like "0,3000" for non-visual assets.
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": "preview_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | No | ||
| catalog | Yes | ||
| item_id | Yes | ||
| rescale | No | ||
| max_size | No | ||
| collection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||