getTopArtists
Retrieve your most-played Spotify artists over a chosen timeframe, from four weeks to a year, to analyze your listening habits.
Instructions
Get the current user's top (most-played) artists over a given time range. This is the closest thing Spotify exposes to listening statistics.
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": "getTopArtists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of artists to return (1-50) | |
| timeRange | No | Time range: short_term (~4 weeks), medium_term (~6 months), or long_term (~1 year). Default: medium_term. |