List a site's media library
list_site_assetsThe images, videos and files uploaded or imported to a site's media library, newest first, each with its permanent url. Use it to find an uploaded photo or clip to place (e.g. a hero video for apply_hero_pattern). Files in the library are not necessarily on a page; to see the images a design actually shows use plan_image_regeneration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return, newest first (default 50). | |
| unused | No | Only files no page uses yet. | |
| site_id | Yes | The site to act on | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| asset_type | No | Only this kind of file. |