Search Creative Library (Images, Videos, GIFs, Documents)
search_library_creatives_by_nameSearch or list creative assets in the library by name, across ALL content types — images, videos, GIFs and documents. Returns detailed information about matching assets with pagination support.
KEYWORDS (for tool discovery): search creative library, list video creatives,
find videos, list uploaded videos, browse video library, search videos by name,
list all creatives, find creative by id, look up creative id, list documents,
list GIFs, library assets, video assets, creative assets, list creatives by type.
This is the general-purpose library search/list tool for every content
type — there is no separate "list videos" or "get library items" tool.
WHEN TO USE:
- Find specific creatives by name in the library
- List all creatives in the library (when creativeName is omitted)
- Search for creative assets with partial name matching
- Filter by content type (IMAGE, VIDEO, GIF, DOCUMENT)
- Locate creatives for use in ad creation
- Verify creative asset availability before campaign setup
- Get creative metadata and IDs for asset management
- Browse through paginated results
SEARCH BEHAVIOR:
- Supports partial name matching when creativeName is provided
- Case-insensitive search
- Returns all creatives matching the search term
- Automatically URL encodes the search name
- When creativeName is omitted, returns all creatives in the library
- Supports optional content type filtering (IMAGE, VIDEO, GIF, DOCUMENT)
- Use lower number in the size parameter. Preference for 5 or 10 max.
PAGINATION:
- Supports pagination with `page` and `size` parameters.
- Defaults: page=0, size=10 (server-side default in
`MetadataAPIClient.search_library_creatives_by_name`).
- Page numbering starts at 0.
- The platform returns Spring `PageResponse` shape
(`totalElements`, `totalPages`, `data`) so callers can
drive a paginator off the response.
- Recommended size: 5-10 to keep LLM responses manageable.
Larger windows (up to ~25) are accepted; anything beyond
blows token budgets fast.
- `sort` takes a Spring `field,direction` clause and defaults
to `id,desc`. Sort on `labelName` for the display name;
`name` holds the generated UUID.
RETURNED DATA:
- Creative asset ID and name
- File properties (size, dimensions, format)
- Upload and modification timestamps
- Visibility status and permissions
- Preview URLs and download links
- Associated metadata and tags
- Pagination metadata (total count, page info)
USE CASES:
- "List all images in the library"
- "Find all images with 'product' in the name"
- "Search for logo images in the library"
- "Get image ID for 'campaign-hero-banner.jpg'"
- "Find all images uploaded for the Q4 campaign"
- "Browse images page by page (page=0, size=5)"
- "List only videos: contentTypes=VIDEO"
- "Filter for images and videos: contentTypes=IMAGE,VIDEO"
- "Get all documents: contentTypes=DOCUMENT"
- "Find all asset types: contentTypes=IMAGE,VIDEO,GIF,DOCUMENT"
NOTE: This is the single tool for searching/listing ALL creative asset
types. To restrict to a type, pass contentTypes (e.g. VIDEO for videos
only); omit it to return every type. Use fetch_creative_details when you
already have a specific creative id and want its full metadata.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page index (default: 0). | |
| size | No | Results per page (default: 10, recommended max: 10). Larger windows blow LLM token budgets — only request more when the caller actually needs it. | |
| sort | No | Spring sort clause, 'field,direction' (default: 'id,desc'). The platform binds a full Pageable to this endpoint, so any ImageLibrary column works: labelName, createdDate, contentType, sizeInKb, width, height, status, id. WARNING: sort on labelName for the display name. 'name' holds the generated UUID that doubles as the S3 object key, so sorting on it produces an order no person can read. | |
| contentTypes | No | Filter by content types (comma-separated). Supported values: IMAGE,VIDEO,GIF,DOCUMENT. Example: IMAGE,VIDEO or IMAGE%2CVIDEO%2CGIF%2CDOCUMENT | |
| creativeName | No | Name or partial name of the creative to search for. Supports partial matching and is case-insensitive. Omit to list all creatives. |