Control Media Playback
obs_control_mediaControl playback of an OBS media input: play, pause, restart, stop, skip to next or previous, or seek to a specific position in milliseconds.
Instructions
Play, pause, restart, stop or skip in a media input, or seek to a position. Give action, or seek_to_ms, or both (the seek is applied first).
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": {
"input_name": "<input_name>"
},
"name": "obs_control_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Playback action | |
| input_name | Yes | Exact input (source) name, as returned by obs_list_inputs | |
| seek_to_ms | No | Position to jump to, in milliseconds from the start |