Show or hide a source
set_source_visibilityControl source visibility in a scene: show, hide, or toggle a source on one or both canvases. Use source_id, optionally with format and scene_id, and get the updated state.
Instructions
Show, hide, or toggle a source in a scene. Omit 'visible' to toggle. Applies to both canvases unless format narrows it. A source_id from another scene resolves to this scene's matching instance (same device or name). Returns the new state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Canvas to affect (default both). | |
| visible | No | Omit to toggle. | |
| scene_id | No | Scene (default: active scene). | |
| source_id | Yes | From list_sources. |