validate_reorder_plan
Validate a proposed reorder of a YouTube Music playlist, ensuring every item is included once, and return the minimal update actions needed.
Instructions
Validate a proposed full in-place reorder and return the minimal update actions.
ordered_playlist_item_ids must contain every existing playlist item exactly once. running_plan is optional metadata from the LLM and is validated only for shape.
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": {
"playlist_id": "<playlist_id>",
"ordered_playlist_item_ids": "<ordered_playlist_item_ids>"
},
"name": "validate_reorder_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | ||
| running_plan | No | ||
| ordered_playlist_item_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||