audio_import
Load a WAV, AIFF, FLAC, MP3, or OGG file into a track's clip slot, then place it on the timeline with arrangement.place_clip. Requires file access enabled in Omni's Settings.
Instructions
Load an audio file (WAV, AIFF, FLAC, MP3, OGG) into a session slot of an audio track, as dropping it from the browser does; arrangement.place_clip then puts it on the timeline. Needs file access, granted in Omni's Settings (AI Create). Undoable.
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": {
"track": "<track>",
"slot": "<slot>",
"path": "<path>"
},
"name": "audio_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the audio file. | |
| slot | Yes | 0-based clip slot (scene row) on the track. | |
| track | Yes | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). |