Astra: add a target to the queue
astra_enqueueQueue tracks, albums, artists, or playlists from Astra search without interrupting playback. Specify next to play after current or end to append.
Instructions
Add a track, album, artist, or playlist to the Astra queue without interrupting what is playing. Takes an opaque ref from astra_search. Use position "next" to play it after the current track, or "end" to append. Refs are opaque signed strings from astra_search (or from the current track / queue). Pass them through verbatim — never parse, edit, or invent one. A ref can go stale and return 404.
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": {
"targetRef": "<targetRef>"
},
"name": "astra_enqueue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | "next" plays it after the current track; "end" appends. Defaults to "end". | |
| targetRef | Yes | An opaque AstraRef from astra_search. Refs are opaque signed strings from astra_search (or from the current track / queue). Pass them through verbatim — never parse, edit, or invent one. A ref can go stale and return 404. |