Unsubscribe
unsubscribeRemove a YouTube channel subscription for the authorized user, even if they aren't subscribed.
Instructions
Unsubscribe the authorized user from a channel. Not being subscribed is fine.
Quota: 51 units.
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": "<channel>"
},
"name": "unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | UC… channel ID, @handle, or channel URL. | |
| my_channel | No | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| was_subscribed | Yes |