subscribe_to_channel
Subscribe the authenticated user to a YouTube channel by providing its unique channel ID. The ID must be valid and exist for the subscription to complete.
Instructions
Subscribes the authenticated user to a specified YouTube channel, identified by its unique channelId which must be valid and existing.
Args: channel_id: Unique identifier (ID) of the YouTube channel to subscribe to (typically starts with 'UC').
Returns: Object with 'data' (subscription resource), 'error' (if any), and 'successful' boolean.
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_id": "<channel_id>"
},
"name": "subscribe_to_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||