uri_to_base62
Extract the raw base62 ID from any Spotify URI, URL, or bare ID. Returns null when no ID is present.
Instructions
Strip a spotify: URI (or URL) down to its raw base62 ID string, locally; null when the reference has no extractable ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Spotify URI, URL, or bare ID | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |