import_youtube_playlist
Extract a tracklist from a YouTube video's chapters or description, match each song on Spotify, and add matched tracks to a new playlist. Skips entries when the artist doesn't match.
Instructions
Extract a tracklist from a YouTube video's chapters or description (for videos that list their songs — mixes, compilations, study/focus playlists, etc.), look each one up on Spotify, and add whatever matches to a new playlist. Best-effort: only works for videos with a written tracklist (no audio recognition); entries are skipped rather than guessed when the Spotify result's artist doesn't match the tracklist entry's artist (common for "unreleased"/"coming soon" tracks that aren't on Spotify at all).
⚠️ public=False is currently ignored by Spotify's API — playlists are
created public regardless (confirmed bug on Spotify's side, not this
server; see journal entry 30).
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": {
"youtube_url": "<youtube_url>",
"playlist_name": "<playlist_name>"
},
"name": "import_youtube_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | ||
| description | No | ||
| youtube_url | Yes | ||
| playlist_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |