media_import
Import video, audio, or image files—or all media in a folder—into a project, copying originals into the workspace and building a 540p proxy while returning a job ID.
Instructions
Import video, audio or image files (or every media file in a folder) into a project. Copies originals into the workspace and builds a 540p proxy. Returns a jobId.
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>",
"paths": "<paths>"
},
"name": "media_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Seconds to wait for the job before returning | |
| paths | Yes | Absolute paths or ~/... ; folders import their media files | |
| projectId | Yes |