Skip to content

Reference Script Functions Slobs

Kristopher Barrantes edited this page Nov 1, 2026 · 3 revisions

Streamlabs Desktop script functions

Also on the Cuebot Docs site.

Functions for C# (Cb.Call) and Python (cb.call). See Script functions for how to use them.

slobs.call

Sends any Remote Control command to Streamlabs Desktop and gives back its answer. For advanced users. Fails with an error when Streamlabs Desktop is not connected.

Value What to put in
resource The part of Streamlabs Desktop to talk to, like "ScenesService" or "StreamingService". Needed.
method The command name, like "getScenes" or "toggleStreaming". Needed.
args Optional. A list of values the command needs, like ["Gameplay"].

Gives back: Streamlabs Desktop's answer for that command.

C#

var answer = await Cb.Call("slobs.call", new { resource = "ScenesService", method = "getScenes" });

Python

answer = cb.call("slobs.call", resource="ScenesService", method="getScenes")

Clone this wiki locally