Search tracks
search_tracksFind tracks in LRCLIB by title, artist, album, or free text to obtain the ID needed for fetching lyrics. Returned metadata reveals duration and synced-lyrics availability to distinguish versions.
Instructions
Search LRCLIB for tracks by title, artist or album, and get the id needed to fetch lyrics with get_lyrics. Give either 'query' as free text, or 'track_name' and 'artist_name' separately for a narrower search. Results carry metadata only: title, artist, album, duration, and whether plain and time-synced lyrics exist. Use 'duration_seconds' and 'album_name' in the results to tell releases and re-recordings of the same song apart, and 'has_synced_lyrics' to know whether karaoke-style timed lyrics are available before fetching them. LRCLIB indexes tracks by their metadata, so it cannot search for a word appearing inside the lyrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum tracks to return. LRCLIB returns up to 20 per search. | |
| query | No | Free-text search, for example 'nino ferrer le sud'. Use this or the fields below. | |
| album_name | No | Album name, to narrow a structured search. | |
| track_name | No | Song title, for a structured search. | |
| artist_name | No | Artist name, for a structured search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| source | Yes | ||
| results | Yes | ||
| result_count | Yes | ||
| total_available | Yes | Tracks LRCLIB returned before applying 'limit'. |