kde_media_control
Control playback on a selected MPRIS media player: play, pause, stop, skip tracks, or seek relative to the current position.
Instructions
Submit play, pause, play-pause, stop, next, previous, or a relative seek to one explicitly selected MPRIS player. For seek, seconds is required, must be non-zero, and is an offset (negative rewinds). Use kde_media_seek_to when you need an absolute playback position.
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": {
"session": "<session>",
"player": "<player>",
"action": "<action>"
},
"name": "kde_media_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| player | Yes | ||
| seconds | No | ||
| session | Yes | Required target selector: a managed private session ID, or the exact value 'user-desktop' to explicitly opt into the real user desktop. |