spotify_get_top_items
Retrieve a Spotify user's top artists or tracks by time range and limit to analyze listening habits.
Instructions
Get user's top artists or tracks
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>"
},
"name": "spotify_get_top_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of items to get | |
| limit | No | Number of items to return (default: 20) | |
| time_range | No | Time range: short_term (4 weeks), medium_term (6 months), long_term (all time) |