Control media playback
hs_media_controlSend system media keys to control playback: play/pause, next, previous, fast, and rewind for the currently active media app.
Instructions
Send a system media key: play or pause, next track, previous track. Works with whichever application currently owns media playback (Music, Spotify, a browser tab), the same as pressing the key on the keyboard.
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": "hs_media_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Which transport control to send. |