Cancel YouTube download
cancel_youtube_downloadStop a comments download that is still created or downloading. Comments gathered so far are kept as partial results. Cancelling does not refund: every canceled video or post, including ones not started yet, is charged 100 credits plus 1 per comment collected, and the 100-credit start fee of a playlist, channel, or custom-list download, once charged, is kept, so it saves only the comments not yet collected. For a playlist, channel, or custom-list download, every unfinished item is canceled too; its status shows canceled at once, but items finish in the background, so wait until commentsCount appears before getting the file. A single download changes to canceled once its comments are saved (seconds, longer for large ones), or ends as finished if it was already completing. Check with get_youtube_download, then get the data with get_youtube_download_file. A download that already ended keeps its status and returns canceled false; for an errored or canceled bulk download, its items still running are stopped. Use it only when the user asks to stop a download; it cannot delete downloads.
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": {
"id": "<id>"
},
"name": "cancel_youtube_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Download ID returned by download_youtube_comments or list_youtube_downloads. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Download ID. | |
| status | Yes | Status before this call: created, downloading, finished, error, or canceled. | |
| message | Yes | What happened. | |
| canceled | Yes | true when cancellation was requested; false when the download had already ended and keeps its status. | |
| progressUrl | Yes | Web page where the signed-in user can watch the download and get its files. |