get_my_top_items
Retrieve your top artists or tracks from Spotify, filtered by time range and limit, to analyze your listening habits.
Instructions
Get the current user's top artists or tracks.
Args:
item_type: Type of items: "artists" or "tracks" (default "tracks").
time_range: "short_term" (~4wk), "medium_term" (~6mo), or "long_term" (all time).
limit: Maximum number of items to return (1-50, default 20).
offset: Index of the first item to return (default 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_type | No | tracks | |
| time_range | No | medium_term | |
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |