Index several videos or a playlist
video_ingest_batchStart ingest jobs for multiple video sources, expand playlists and channels, queue excess jobs, and report bad sources without stopping the batch.
Instructions
Start one ingest job per source. Playlist and channel URLs expand to their first playlist_limit
videos. Jobs run DVQA_MAX_CONCURRENT_JOBS at a time and the rest queue; a bad source is reported in
skipped without stopping the others.
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": {
"sources": "<sources>"
},
"name": "video_ingest_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frames | No | Sample and embed frames. | |
| quality | No | Download height for URLs. | |
| sources | Yes | URLs or local paths; playlists expand. | |
| language | No | Spoken language code. Omit to detect. | |
| transcribe | No | Transcribe the speech. | |
| wait_seconds | No | Seconds to wait for completion before returning the job. | |
| playlist_limit | No | Videos taken from each playlist. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | One per video, in source order after playlist expansion and de-duplication. | |
| skipped | No | Sources that were not started, as 'source: code: reason'. | |
| expanded | No | Playlists that were expanded, as 'url -> N videos'. |