media_add
Probe and reference a local original image, video, or audio file without copying it, and optionally append video or audio to the project timeline.
Instructions
Probe and reference a local original image, video or audio file without copying it. Optionally append video/audio to the main timeline.
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": {
"projectDir": "<projectDir>",
"expectedRevision": "<expectedRevision>",
"path": "<path>"
},
"name": "media_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| projectDir | Yes | Absolute path of the local video project directory | |
| addToTimeline | No | ||
| expectedRevision | Yes | Revision returned by project_inspect. Prevents overwriting newer edits. |