import_and_create_playlist
Import a CSV of songs and artists, search each track on Spotify, and create a new playlist with the matched results.
Instructions
Full workflow: Parse song list CSV, search all tracks, create playlist.
This is the main tool for bulk playlist creation from a list of songs.
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": {
"name": "<name>",
"csv_content": "<csv_content>"
},
"name": "import_and_create_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Playlist name | |
| csv_content | Yes | CSV content with columns: title, artist | |
| include_confidence | No | "high", "high_medium", or "all" | high |
| description | No | Playlist description | |
| public | No | Whether playlist is public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||