media_import_url
Download videos from YouTube, Twitch, Instagram, Vimeo, X, Facebook and other URLs into a project Inbox for editing, optionally trimming by start and end seconds. Poll the job ID for progress.
Instructions
Download a video from a link (YouTube, Shorts, Twitch VODs and clips, Instagram, Vimeo, X, Facebook and many more) into the Inbox and import it, like media_import. Give start/end (seconds) to download only that part of a long video. The result includes the source (title, channel, chapters and, for YouTube, the most-replayed moments) and a jobId; downloads can take minutes, poll job_status.
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": {
"projectId": "<projectId>",
"url": "<url>"
},
"name": "media_import_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Download up to this second of the source | |
| url | Yes | ||
| wait | No | Seconds to wait for the job before returning | |
| start | No | Download from this second of the source | |
| maxHeight | No | Highest resolution to fetch | |
| projectId | Yes | ||
| cookiesFromBrowser | No | Use this browser's sign-in (for private, unlisted, members-only or age-restricted videos) |