format_spotify_uri
Convert a Spotify entity kind and ID into a canonical spotify: URI. Validates the ID shape and returns null for malformed pairs.
Instructions
Format an entity kind + ID pair into a canonical spotify: URI locally; validates the ID shape and returns null when the pair is malformed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Spotify entity ID | |
| kind | Yes | Entity kind, e.g. track, album, artist, playlist, show, episode, audiobook, user | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |