Skip to content
Changelog

canvas.get

Gives one canvas: its size, frame rate, the destinations sent from it and its recording.

JSON-RPC 2.0project.read

Parameters

  • canvasstringThe canvas's id or name. Default: the primary canvas.

Result

  • (the canvas){ id: string, name: string, width: number, height: number, fps: number, primary: boolean, program: string | null, destinations: { id: string, name: string, enabled: boolean }[], recording: { active: boolean, state: string, seconds: number } }The canvas.

Errors

Not found (-32004) for an unknown canvas.

From an AI agent

The MCP server's outputs (action: canvas) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "canvas.get",
"params": {
"canvas": "Vertical"
}
}

Result

{ "id": "019ad3f0-0a1b-7c2d-8e3f-4a5b6c7d8e9f", "name": "Vertical", "width": 1080, "height": 1920, "fps": 30, "primary": false, "program": "019ad3f2-6c1e-7a40-9b52-3f1d2e8c4a10", "destinations": [], "recording": { "active": false, "state": "idle", "seconds": 0 } }

canvas.list