Get track previews
get_track_previewsGet playable 30-second audio previews for tracks from an album IN THE USER'S LIBRARY.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"album_title": "<album_title>"
},
"name": "get_track_previews"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_tracks | No | Maximum tracks to return (default 5) | |
| album_title | Yes | Album title (partial match supported) | |
| track_numbers | No | Specific track numbers (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artist | No | ||
| source | No | ||
| tracks | Yes | ||
| cover_url | No | ||
| album_title | Yes | ||
| apple_music_url | No |