Take a snapshot
camera_snapshotCapture a still from an IP camera and return a downscaled preview plus the full-size JPEG path. Crop or select a region to inspect detail, or reuse an earlier snapshot to zoom without a new capture.
Instructions
Take a still picture from a camera. Returns the image (downscaled to at most 1280 px wide) and the path of the full-size JPEG saved on the local machine.
quality: "high" = main stream (full resolution set on the camera); "low" = sub stream (smaller, quicker). crop: [x, y, w, h] as fractions of the frame (0-1) to see a detail at full resolution. region: a named ninth of the frame instead of crop (not both). from_path: reuse an earlier full-size snapshot (e.g. the one just viewed, or one from scene_timeline) instead of taking a new one; combine with crop/region to zoom into it. The camera is not contacted, and camera may be omitted.
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": "camera_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | ||
| camera | No | ||
| region | No | ||
| quality | No | high | |
| from_path | No |