spawn_asset_preview
Confirm whether an asset exists on Spawn's CDN and view image assets inline, preventing guesswork from filenames when building.
Instructions
Check whether an asset actually exists on Spawn's CDN, and LOOK AT IT if it is an image (returned inline, so you can judge it rather than guess from the filename). Use it on an unfamiliar path before building around it, and after generating a new one to see what the name produced. Safe to call: it queries the storage host directly, which never triggers generation — a 404 means the asset has not been created yet, not that you are forbidden to ask.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Record the result (exists, size) in the bank, adding the path if it is new. | |
| path | Yes | The asset: either its bank name ("knight") or its path ("cdn/moodboard-lowpoly-cozy/model-humanoid-knight.glb"). A leading slash and a ?animations= query are normalized away. | |
| render | No | Return the image inline for image assets. false checks existence only (a HEAD request). |