youtube_reorder_playlist_item
Reorders a YouTube playlist item to a new zero-based position after an approved preview, requiring an approval ID to execute the change.
Instructions
Reorder an item after an approved preview.
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": {
"playlistId": "<playlistId>",
"playlistItemId": "<playlistItemId>",
"position": "<position>",
"approvalId": "<approvalId>"
},
"name": "youtube_reorder_playlist_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute; set it only after youtube_approve approved this exact preview. | |
| position | Yes | New zero-based position of the item in the playlist. | |
| approvalId | Yes | Approval ID from the youtube_preflight_reorder_playlist_item preview, after approving it with youtube_approve. | |
| playlistId | Yes | YouTube playlist ID, e.g. PLxxxxxxxxxxxxxxxx. | |
| playlistItemId | Yes | Playlist item ID (not the video ID), from youtube_list_playlist_items. |