get_top_tracks
Retrieve your most-played tracks from Spotify based on listening history for a chosen time range.
Instructions
The user's most-played tracks over a time window (short_term=~4 weeks, medium_term=~6 months, long_term=~1 year). Spotify's own affinity ranking from listening history — not a live popularity/trending signal.
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 | ||
| offset | No | ||
| time_range | No | medium_term |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| href | No | ||
| next | No | ||
| items | No | ||
| limit | No | ||
| total | No | ||
| offset | No | ||
| previous | No |