Remove media
media_removeRemove a media source from OBS by deleting its input and all associated scene items, using either the media ID or name.
Instructions
Delete a Media Source input and all of its scene items.
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": "media_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |