ai_detect_scenes
Detect scene cuts in a DaVinci Resolve timeline to add cuts, or analyze a clip's source file with FFmpeg to return cut times without changing media.
Instructions
Detect scene cuts. source 'timeline' runs Resolve's DetectSceneCuts on the current timeline (adds cuts); source 'file' runs FFmpeg scene detection on a clip's source file and returns cut times (no changes).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ai_detect_scenes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Media pool clip id, exact clip name, or file path | |
| source | No | file | |
| timeline | No | Timeline name or id (default: current timeline) | |
| threshold | 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 |