Control media
media_controlControl OBS media sources by playing, pausing, stopping, or restarting them using the media ID or name.
Instructions
Play, pause, stop, or restart a Media Source.
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": "media_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| mediaId | No | Media ID. This is the OBS input UUID returned by media_add/media_list. | |
| mediaName | No | OBS media input name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |