search_album_cover
Retrieve canonical album cover art from MusicBrainz, iTunes, and Spotify. All results are editorial-licensed and suitable for album identification interfaces.
Instructions
Find canonical album artwork. Uses MusicBrainz Cover Art Archive + iTunes + Spotify. Results are EDITORIAL_LICENSED — safe for album identification UI per platform ToS; always show attribution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artist | Yes | ||
| album | Yes | ||
| providers | No | ||
| safeSearch | No | ||
| licensePolicy | No | ||
| maxPerProvider | No | ||
| minWidth | No | ||
| minHeight | No | ||
| timeoutMs | No |
Implementation Reference
- Core implementation of searchAlbumCover. Delegates to searchImages with preset providers ['musicbrainz-caa', 'itunes', 'spotify', 'wikimedia'] and maxPerProvider of 5.
export async function searchAlbumCover( artist: string, album: string, opts: SearchOptions = {}, ): Promise<SearchResultBundle> { return searchImages(`${artist} ${album}`, { ...opts, providers: opts.providers ?? ["musicbrainz-caa", "itunes", "spotify", "wikimedia"], maxPerProvider: opts.maxPerProvider ?? 5, }); }