Record a video clip
camera_recordRecord a 1–60 second video clip from an IP camera to a local MP4 file and return its path and size; use a snapshot instead if you need to view the scene.
Instructions
Record a video clip (1-60 s) from a camera to an mp4 file on the local machine. Returns the file path and size; the video itself is not returned, so take a snapshot if you need to see the scene.
quality: "high" = main stream (full resolution set on the camera); "low" = sub stream (smaller file).
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": "camera_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | Yes | ||
| quality | No | high | |
| seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |