get_my_top_tracks
Retrieve your top Spotify tracks over a custom time range. Use this data to seed personalized playlists.
Instructions
Get the current user's top tracks on Spotify.
time_range options:
"short_term": approximately last 4 weeks
"medium_term": approximately last 6 months (default)
"long_term": all time
Useful as a seed for building personalized playlists.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_my_top_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| time_range | No | medium_term |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |