Expand a Roon item into tracks
get_tracks_forExpand a music search candidate into its playable tracks for preview, queuing, or playback.
Instructions
Use this after search_music when the user wants a concrete list of songs — to preview tracks, build a queue, or pick one to start with (e.g. "what tracks are on this album?", "give me 5 tracks of Dark Ambient", "what's on this playlist?"). Expands an artist, album, genre, or playlist candidate into concrete playable tracks. Pass an itemKey from a recent search_music result. Returns track candidates with session-scoped item keys (use them promptly with enqueue_and_play). Non-expandable items return empty tracks with a skipped reason rather than an error.
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": {
"itemKey": "<itemKey>"
},
"name": "get_tracks_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemKey | Yes | Item key to expand — from a recent search_music candidate (artist, album, genre, or playlist). | |
| limit | No | Max tracks to return (default 10). |