record.stop
Stops recording, and gives the file's path.
JSON-RPC 2.0outputs.control
Parameters
None.
Result
- activebooleanfalse.
- pathstring | nullThe recording's file.
Errors
A state error (-32005) when not recording.
Events
Subscribers to events get record.state, output.changed.
From an AI agent
The MCP server's recording (action: stop) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "record.stop", "params": {}}lightair call record.stopconst result = lightair.call("record.stop", {});Result
{ "active": false, "path": "/Users/sam/Movies/Lightair/2026-12-04 20-15-02.mp4" }