Music Play
music_playStarts playback in the Music app: resumes, or with track_id plays that library track, or with playlist that playlist. Opens the Music app when it is closed. Returns the player state, the volume and the current track afterwards.
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": "music_play"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Ignored; kept for older clients. | |
| playlist | No | A playlist name or id from music_list_playlists. | |
| track_id | No | A track id from music_search_library. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | ||
| note | No | ||
| state | Yes | ||
| track | No | ||
| action | Yes | ||
| volume | No | ||
| running | No |