nvr_list_recording_segments
List a channel's recording segments for a given date, returning start/end times and event type, so you can inspect motion, smart, manual, or alarm footage.
Instructions
Typed recording timeline for one channel (1-16) on one day (YYYY-MM-DD), read-only: a list of {start, end, type, raw_type} where type is normal / motion / smart / manual / alarm / unknown. tz is 'local', 'utc' or an IANA zone. include_raw=true adds the raw device reply at data.raw. On an unrecognised reply shape returns PROTOCOL_ERROR with the payload under data.raw (the live run corrects the shape).
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": {
"channel": "<channel>",
"date": "<date>"
},
"name": "nvr_list_recording_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | local | |
| date | Yes | ||
| channel | Yes | ||
| include_raw | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||