detect_scenes
Detect scene changes in a video and return the time intervals of each scene, helping you decide where to cut. Use background mode for long videos to run as a job.
Instructions
Detecta mudanças de cena e devolve os intervalos de cada cena.
Use para decidir onde cortar. Percorre o vídeo inteiro, então em vídeos longos prefira background=true.
Args: path: Vídeo, relativo ao workspace. threshold: Sensibilidade entre 0 e 1. Menor detecta mais cenas. background: Executa como job e devolve job_id.
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": "detect_scenes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| threshold | No | ||
| background | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |