album_representative_plan
Builds a deterministic album sampling plan: opener, midpoint, closer, longest track, ordered by original position with cumulative offsets, from a single API request.
Instructions
Builds a deterministic "sample this album" plan: opener, mid-point, closer and the longest track, ordered by original position with cumulative offsets, from the full album payload. Quota: 1 GET /albums/{id} (+1 paged tracks walk above 50 tracks).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | ISO 3166-1 alpha-2 market code (e.g. 'US'); omit for 'from_token' behaviour | |
| album_id | Yes | Spotify ID, URI (spotify:...), or open.spotify.com URL — all resolve to the same entity | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |