start_recording
Starts background video recording from a specified camera and returns a recording_id to stop it later.
Instructions
开始用指定摄像头录像(后台运行,返回 recording_id 用于停止)
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": {
"device": "<device>"
},
"name": "start_recording"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | 帧率 1-60,默认 30 | |
| path | No | 保存路径,默认 ./videos/video-{timestamp}.mp4 | |
| device | Yes | 摄像头设备名 | |
| resolution | No | 分辨率,如 1280x720,默认 1280x720 |