Add a channel to a tab
add_itemAdds a channel to a tab. 40 channels at most per tab. The response tells the folder and the tab where the channel went, so the screen opens in the right place. The response has the whole updated library, so you do not need to reload GET /api/library.
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": {
"group_id": "<group_id>",
"channel_id": "<channel_id>"
},
"name": "add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | Tab that receives the channel, `grp_…`. | |
| channel_id | Yes | Channel ID in the catalog, for example `GloboNews.br`. |