reorder_playlist_by_audio_features
Sorts Spotify playlists by energy, valence, danceability, or tempo; currently leaves them unchanged because Spotify no longer provides these features to Development Mode apps.
Instructions
Unavailable: Spotify no longer provides audio features (energy, valence, danceability, tempo) for Development Mode apps, so playlists cannot be sorted by them. The playlist is left unchanged.
Args: playlist_id: Spotify playlist ID or URI. feature: The audio feature to sort by (e.g., 'energy', 'valence', 'danceability', 'tempo'). order: 'asc' for ascending, 'desc' for descending. ascending: Optional boolean (True for 'asc', False for 'desc'). Overrides order if provided.
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": {
"playlist_id": "<playlist_id>"
},
"name": "reorder_playlist_by_audio_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | desc | |
| feature | No | energy | |
| ascending | No | ||
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |