Get Recent Listening
am_recently_playedGet recent Apple Music listening or library additions by type: tracks, played albums/playlists, stations, or added content. Specify kind and limit up to 100. Note: play counts are not included.
Instructions
Read recent listening or recently added Apple Music content when recency matters. This API does not provide play counts; use am_top_played for Replay rankings. / 中文:查最近播放。kind=tracks 是最近播放的曲目;played 是最近播放的歌单/专辑;stations 是最近听的电台;added 是最近加入音乐库的内容。注意:Apple 的这个接口不返回播放次数。
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": "am_recently_played"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 默认 tracks | |
| limit | No | 条数,默认 30 |