Import media
import_mediaAdd a video, audio or image file to the media library from a public https URL, such as a generated voiceover or music. Counts against the plan's uploads like any file. For a file on your own machine, use create_upload. Its status says when it is ready; the previews usually take seconds. Optionally place it on the timeline right away. to: folder puts it in the folder's media instead, for every project in the folder (use_asset adds it here).
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": {
"url": "<url>"
},
"name": "import_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | folder: the folder's media, shared by its projects (default: this project) | |
| url | Yes | ||
| name | No | file name to show in the library, with its extension (default: from the URL) | |
| binId | No | bin to import into (default: library root) | |
| projectId | No | Project to act on (default: the open one) | |
| addToTimeline | No |