tvh_assign_epg_sources
Assign advertised EPG source IDs to a Tvheadend channel, with add, replace, or remove modes to preserve or clear existing mappings; supports dry-run previews.
Instructions
Assign advertised EPG source IDs to a channel; add preserves existing sources.
Source IDs are enum keys from get_field_options(channel_uuid, 'epggrab'), often module/channel strings rather than UUIDs. Empty replace explicitly clears.
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": {
"channel_uuid": "<channel_uuid>",
"source_ids": "<source_ids>"
},
"name": "tvh_assign_epg_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | add | |
| dry_run | No | ||
| source_ids | Yes | ||
| channel_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||