Astra: control playback
astra_controlControl playback in the Astra music player: play, pause, stop, next, previous, seek, set volume, mute, shuffle, or repeat. Each action reports the resulting state.
Instructions
Control playback in Astra: play, pause, stop, next, previous, seek, set-volume, set-muted, set-shuffle, set-repeat. Each action needs its own argument — seek needs positionSeconds, set-volume needs volume (0-1), set-muted needs muted, set-shuffle needs enabled, set-repeat needs mode. Astra accepts commands asynchronously; this tool waits briefly and reports the state it actually landed on. To start a specific track or album instead, use astra_search then astra_play.
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": {
"action": "<action>"
},
"name": "astra_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Required for "set-repeat". | |
| muted | No | Required for "set-muted". | |
| action | Yes | The playback action to perform. | |
| volume | No | Required for "set-volume": 0 (silent) to 1 (full). 0.5 is 50%. | |
| enabled | No | Required for "set-shuffle". | |
| positionSeconds | No | Required for "seek": absolute position in seconds from the start of the track. |