audio_set_pan
Set an audio clip's pan value (-100 to 100) on a specified timeline track and item, with readback verification; reports when the Resolve version does not support the property.
Instructions
Set clip pan (AudioPan item property). Attempted via TimelineItem.SetProperty and verified by readback; reports 'unsupported' when this Resolve version rejects the property.
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": {
"pan": "<pan>"
},
"name": "audio_set_pan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | Yes | ||
| itemId | No | Timeline item unique id (from timeline_get_clips) | |
| timeline | No | Timeline name or id (default: current timeline) | |
| itemIndex | No | 1-based position of the clip on the track (transitions are not counted) | |
| trackType | No | audio | |
| trackIndex | 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 |