Playlists
music_playlistsList Apple Music playlists with track counts and smart status, or retrieve tracks from a named playlist. Use paging and cursor to handle large results.
Instructions
List your playlists (with track counts and whether they are smart), or pass name to get one playlist's tracks. Large results come in parts (see paging and cursor).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "music_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| limit | No | Max tracks. | |
| cursor | No | Leave out at first. When a result has paging.has_more, repeat the call with the same arguments plus cursor set to paging.cursor to get the next part. | |
| open_if_closed | No | Open Music if it is not running (default false). |