stac_preview
Retrieve a thumbnail URL for a satellite scene to preview its content. Use for quick visual checks before downloading full bands.
Instructions
Get a preview/thumbnail URL for a scene.
Returns the URL of the scene's thumbnail or rendered preview image. Much faster than downloading full bands — useful for quick browsing.
The scene must have been returned by a previous stac_search call.
Args: scene_id: Scene identifier from a search result (use scene_id from stac_search) output_mode: Response format - "json" (default) or "text"
Returns: JSON with preview_url for the scene's thumbnail
Tips for LLMs: - Use for quick visual checks before committing to full band downloads - The preview URL is a remote image that can be displayed directly - Not all scenes have thumbnails — check for errors in the response
Example: preview = await stac_preview(scene_id="S2B_...")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_id | Yes | ||
| output_mode | No | json |