playlist_trim
Reduce any Spotify playlist to a specified number of tracks, keeping the first, last, or random items. Preview changes with dry-run before applying.
Instructions
Trim playlist to N items (keep first/last/random). Quota: 🟢 GET all + PUT/POST.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | Yes | ||
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| keep_which | No | first | |
| playlist_id | Yes |