top_tracks
Need a user's top tracks? Retrieve them for short-term (4 weeks), medium-term (6 months), or long-term (years) periods.
Instructions
Get the user's most-listened-to tracks. time_range: short_term (~4 weeks), medium_term (~6 months, default), or long_term (years).
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": "top_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| time_range | No | medium_term |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |