get_top_tracks
Retrieve your most-played Spotify tracks within specified timeframes to analyze listening habits or create personalized playlists.
Instructions
Get your top tracks
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_top_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of tracks to return (1-50, default: 10) | |
| time_range | No | Time range (short_term: 4 weeks, medium_term: 6 months, long_term: all time) | medium_term |