Skip to content
Changelog

camera.pair

Makes a pairing link for a Phone camera layer, for Lightair Live to scan.

JSON-RPC 2.0project.write

The person still allows the phone in Lightair before it's used.

Parameters

  • sourcestringrequiredThe Phone camera layer's source id or name.

Result

  • sourcestringThe layer's source id.
  • linkstringThe pairing link.
  • expires_atnumberWhen the link stops working, in Unix seconds.

Errors

Invalid params (-32602) without source. Not found (-32004) when it isn't a Phone camera layer. A state error (-32005) while the phones' port is starting: ask again in a moment.

From an AI agent

The MCP server's phone_camera (action: pair) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "camera.pair",
"params": {}
}

camera.status · camera.control · object.add