View media
view_mediaRead-onlyIdempotent
Look at images stored in the project: imported or generated media by mediaIds, a shot's selected panel by shotIds, or a canvas node's current image output by nodeIds. Returns each image downscaled (JPEG, longest side maxSize, default 1024px) with its size and media id, after a JSON list of what was returned. Up to 8 images per call within a size budget; an image that could not be returned is listed in skipped with the reason. Use it to read boards or pages you imported, or to check a generated panel before telling the user it is right. Costs no credits.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxSize | No | Longest side of each returned image in pixels (default 1024). Smaller fits more images in one call. | |
| nodeIds | No | Canvas node ids (the id in an @#nodeId token, for example a story element's reference sheet or ad-image): returns the node's current image output. | |
| shotIds | No | Shot ids (from list_shots): returns each shot's selected panel image. | |
| mediaIds | No | Media ids: images imported into the project or generated (a generation's media id). | |
| projectId | Yes | ScreenWeaver project id (from list_projects). |