piair.status
Gives PiAir's state, its AI streamer mode and its last five logged actions.
JSON-RPC 2.0project.read
Parameters
None.
Result
- runningbooleanWhether it's running.
- statusstringIts status.
- modestringThe AI streamer mode;
offwhen none. - ai_drivesbooleanWhether the AI is driving the show.
- last_actionsobject[]Its last five logged actions.
From an AI agent
The MCP server's piair (action: status) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "piair.status"}lightair call piair.statusconst result = lightair.call("piair.status", {});