list_media
Retrieve paginated media items from your library with id, name, type, and folder. Use the cursor to navigate pages and find media IDs for posts or verify existing imports.
Instructions
List items in the user's media library. Returns each item's id, name, type, and folder, plus a cursor field when more pages exist. Use this to find a media id to attach to a post via create_post or update_post, or to check whether a file was already imported before calling import_media.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order by upload date. | newest |
| type | No | Filter by media kind. 'clip' is a short-form clip generated by ViralNote's AI clipping. | |
| limit | No | Maximum items per page (1-50). | |
| cursor | No | Opaque pagination cursor from the previous response. Omit for the first page. | |
| folder | No | Only items in this library folder (exact name match). Omit for all folders. |