Apply a recipe
apply_recipeApply a recipe to the live stream by creating a new scene and switching to it immediately. Pass target_scene_id to add the recipe into an existing scene.
Instructions
Apply a recipe to the live stream. By default this CREATES a new scene from the recipe and switches to it, taking effect immediately on the user's stream, so call only when the user asked to build/switch a scene. Pass target_scene_id to instead add the recipe's sources into an existing scene. Both canvases (H+V) are populated from the recipe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe_id | Yes | Recipe id from list_recipes or save_recipe. | |
| scene_name | No | Name for the new scene (defaults to the recipe name). Ignored with target_scene_id. | |
| target_scene_id | No | Existing scene id to apply into, instead of creating a new scene. |