cohost.status
Gives the AI co-hosts in the workspace, which is active, and how PiAir is doing.
JSON-RPC 2.0project.read
Parameters
None.
Result
- cohosts{ source: string, name: string, active: boolean, on: boolean }[]The co-host objects.
- runningbooleanWhether PiAir is running.
- statusstringIts status.
- errorstring | nullIts last error.
- pausedbooleanWhether it's paused.
- installedbooleanWhether PiAir is installed.
From an AI agent
The MCP server's cohost (action: status) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "cohost.status"}lightair call cohost.statusconst result = lightair.call("cohost.status", {});