get_top_tracks
Retrieve your most played tracks from Spotify, filtered by short-term, medium-term, or long-term listening history.
Instructions
Get your top tracks based on listening history.
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 |
|---|---|---|---|
| time_range | No | Time period: - "short_term": Last 4 weeks - "medium_term": Last 6 months (default) - "long_term": All time | medium_term |
| limit | No | Number of results (max 50) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||