record.status
Gives whether Lightair is recording, for how long, to which file and folder.
JSON-RPC 2.0project.read
state is idle, starting, active, reconnecting, stopping or failed.
Parameters
None.
Result
- activebooleanWhether it's recording.
- statestringIts state.
- secondsnumberTime recorded.
- errorstringWhy it failed, when it did.
- pausedbooleanWhether it's paused.
- pathstring | nullThe file being written.
- bytesnumberBytes written.
- folderstringWhere recordings are saved.
From an AI agent
The MCP server's recording (action: status) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "record.status"}lightair call record.statusconst result = lightair.call("record.status", {});