get-recently-played
Retrieve the user's recently played Spotify tracks, optionally filtered by before/after timestamps and limited to 1-50 results.
Instructions
Get the user's recently played tracks
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": "get-recently-played"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Unix timestamp in ms. Returns tracks played after this time (optional) | |
| limit | No | Maximum number of tracks to return (1-50, default: 20) | |
| before | No | Unix timestamp in ms. Returns tracks played before this time (optional) |