open_url_to_spotify_uri
Convert open.spotify.com URLs, including embed forms, into canonical spotify: URIs while ignoring tracking parameters.
Instructions
Convert an open.spotify.com URL (including /embed/ forms with ?si= tracking params) into a canonical spotify: URI locally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | open.spotify.com URL (embed forms accepted, query params ignored) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |