get_track_preview_url
Retrieve the 30-second preview URL for any Spotify track using its URI. Enables quick audio sampling in applications.
Instructions
Get the 30-second preview URL for a track.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"track_uri": "<track_uri>"
},
"name": "get_track_preview_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_uri | Yes | Spotify track URI (e.g., "spotify:track:xxx") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||