account | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided |
media_type | string or SelectableOption | No | {'value': 'ALL', 'label': 'All'} | Which media library assets to list: ALL (default), VIDEO, or IMAGE. |
name_search | string | No | - | Optional name/filename search applied by Meta at the source (substring match). Uploaded assets are usually named after their original filename, for example ‘summer_sale.mp4’. |
filters | array of FilterItem | No | - | Additional filters to apply when retrieving media. The available fields to filter by are: - media_type: VIDEO or IMAGE - name: The asset name/filename - status: Asset status (for example ready or ACTIVE) - video_id: Filter by video ID - image_hash: Filter by image hash Filters are combined using AND logic. Prefer name_search for name lookups, since it is applied by Meta at the source. |
limit | integer | No | 100 | Maximum number of matching assets to return (1-500), counted after all filters are applied |