get_snapshot
Fetch a JPEG frame from a camera: live or historical. Provide a millisecond timestamp for a specific past moment, found via clip or alert search.
Instructions
Fetch a JPEG frame from a camera.
Omit pos_ms for the current live frame. Pass pos_ms (Unix epoch
milliseconds) to pull a historical frame instead -- use list_clips
or list_alerts to find a timestamp of interest first (their
date field is epoch seconds; multiply by 1000).
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": {
"camera": "<camera>"
},
"name": "get_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | Yes | ||
| pos_ms | No |