sym_retention
Analyze per-camera footage retention timelines to detect recording gaps and correlate them with download records and camera logs, explaining why gaps exist.
Instructions
Footage retention and gap analysis from FootageFiles database table. Builds per-camera timeline, detects gaps, correlates with CameraDownload table and camera logs to explain WHY gaps exist. Requires bug report package with TableFootageFiles.txt.
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": "sym_retention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (default: text). jsonl returns one JSON object per gap row. | |
| logDir | No | Override log directory for this call only. Absolute path to a log directory or bug report folder. If omitted, uses the directory set by sym_open (or LOG_DIR env var). | |
| endTime | No | End of analysis window (ISO 8601) | |
| cameraId | No | Filter to a specific camera ID | |
| serverId | No | Filter to a specific server ID | |
| startTime | No | Start of analysis window (ISO 8601) | |
| outputFile | No | Write output to file instead of returning inline | |
| investigate | No | Correlate gaps with camera logs for root cause (default: true) | |
| minGapMinutes | No | Minimum gap duration to report in minutes (default: 5) |