propose_playlist
Build and preview a YouTube playlist within a total duration and optional per-video limit before creating it. Writes nothing; review the proposal and approve it to proceed.
Instructions
FR-5 step 1: build and preview a playlist that never exceeds the total duration or per-video limit. Writes nothing. Show the preview to the user and get explicit approval before calling create_playlist. Example: 'two hours on X, no video over 20 minutes' -> total_minutes=120, max_video_minutes=20.
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": {
"topic": "<topic>",
"total_minutes": "<total_minutes>"
},
"name": "propose_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional playlist title | |
| topic | Yes | Playlist topic, e.g. 'python decorators' | |
| privacy | No | private (default), unlisted or public | private |
| language | No | Optional language code, e.g. 'en', 'hi' | |
| total_minutes | Yes | Maximum total duration in minutes, 5-600 | |
| max_video_minutes | No | Optional maximum length per video in minutes |