Import media from URL
import_media_from_url[write] Download a public video, image or audio file into the workspace library (video up to 400 MB, audio 100 MB), measure it, and optionally place it on the timeline. Use for a direct link to an mp4/mov/webm, jpg/png/webp/gif or mp3/wav/m4a file. A private or local address is refused. Not for a web page (use find_site_assets) or a file on your machine (use create_upload). Returns asset_id, kind, name, duration_ms, width, height, reused, and placed {handle, lane, start_ms, end_ms} when placed. Related: list_media, add_timeline_clip, create_upload. Full docs: load_skill with tools: [name].
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": {
"project_id": "<project_id>"
},
"name": "import_media_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct http(s) link to the file itself. | |
| kind | No | What it is (default read from the address). | |
| name | No | Library name (default the file's). | |
| items | No | Many files at once, max 40, each with this tool's fields; fields beside it are defaults. | |
| place | No | Also lay it on this project's timeline. | |
| project_id | Yes | The AskEditor project this acts on (from list_projects). |