import_media
Imports video, audio, stills, or timeline files into a FilmCraft project and returns new project item IDs for use with add_clip, so media can be placed on the timeline.
Instructions
Import media files (video, audio, stills, or EDL/FCP XML/FCPXML/OTIO/AAF timelines) into the project. Returns the new project item ids used by add_clip.
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": {
"paths": "<paths>"
},
"name": "import_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frame rate of a baked image sequence | |
| bake | No | With imageSequence: render the sequence to a ProRes .mov next to the frames and import that instead. The app can keep stale frames of a re-written sequence; a baked movie never is. | |
| paths | Yes | ||
| project | No | Path to the .fcproj project file; omit to edit the FilmCraft app connected with connect_app | |
| imageSequence | No | Treat the first numbered still as an image sequence |