get_track
Read one track by its id. Use it when you need to know whether the listener likes a track or which of their playlists hold it. Returns the track and the listener's playlists, each marked active when it contains the track.
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": {
"id": "<id>"
},
"name": "get_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the track id, from a list or a search |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | Yes | Upstream types/track.ts Track, field for field. lastPlayedAt and createdAt are Date | null / Date upstream and cross the wire as epoch milliseconds; the adapter's toTrack revives them. | |
| playlist_menu | Yes |