Stop Recording
stop_recordingEnd an active recording gracefully to finalize the video file and return its path and duration, using the session ID from the recording start.
Instructions
Stop a recording gracefully so the file is finalized; returns the path and duration.
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": {
"sessionId": "<sessionId>"
},
"name": "stop_recording"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Replay buffer: write it all to outputPath first (default: discard). | |
| sessionId | Yes | Session id returned by start_recording. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| sessionId | Yes | ||
| outputPath | Yes | ||
| durationSec | Yes |