audio_insert_at_playhead
Insert an audio file at the playhead on the current Fairlight track, with optional sample-based start and duration offsets for precise placement.
Instructions
Insert an audio file on the current Fairlight track at the playhead (Project.InsertAudioToCurrentTrackAtPlayhead; offsets in samples).
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": {
"path": "<path>"
},
"name": "audio_insert_at_playhead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute local file path | |
| duration | No | ||
| startOffset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |