Individual plays
get_playsRetrieve individual Spotify play history entries, newest first, with local time, track, artists, and album. Filter by after and before dates to read a specific window.
Instructions
Individual stored plays, newest first, with local time, track, artists and album. Give after and before to read a window (newest first within it). If next_before is returned, pass it as before for the next, older page. For counts over a range prefer daily_play_counts or top_artists, which are far cheaper.
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_plays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only plays after this: YYYY-MM-DD (local midnight), an ISO datetime, or epoch-ms | |
| limit | No | Default 50 | |
| before | No | Only plays before this: same forms as `after` |