get_user_recent_tracks
Retrieve a user's recently played tracks from Last.fm with options to filter by time range, limit results, and include extended track data.
Instructions
Get a user's recently played tracks
Args: user: Username limit: Maximum number of results to return (1-50, default: 10) page: Page number to retrieve (default: 1) from_timestamp: Unix timestamp to start from (optional) to_timestamp: Unix timestamp to end at (optional) extended: Include extended data (optional)
Returns: Formatted list of user's recent 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": {
"user": "<user>"
},
"name": "get_user_recent_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| limit | No | ||
| page | No | ||
| from_timestamp | No | ||
| to_timestamp | No | ||
| extended | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |