Music List Playlists
music_list_playlistsLists the playlists of the Music app: id, name, kind (playlist or folder) and total length. With playlist (a name or an id) it lists that playlist's tracks instead, in playlist order. Both lists are paged with limit and offset. Opens the Music app when it is closed.
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_list_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page (default 100, max 500). | |
| offset | No | Rows to skip (default 0). | |
| playlist | No | Playlist name or id. When given, its tracks are returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| total | Yes | ||
| tracks | No | ||
| has_more | Yes | ||
| playlist | No | ||
| playlists | No |