Send Script to Builder
send_script_to_builderSubmits a validated script to the builder for human review. Designed for multi-step or conditional flows that need manual approval.
Instructions
Drop a validated Action Script into Dev Studio Builder for human review (does not auto-run). Runs the same validation as validate_script. Arguments: script (object or JSON string), optional device. Use only for multi-step / conditional / saved-or-reviewed flows — if the task is a single deterministic action (one keypress, one launch, one RALE command, one ECP query/POST, one screenshot), call the matching direct op (keypress, launch_app, rale_command, ecp_query, ecp_post, screenshot, …) directly instead of wrapping it in a one-step script.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Optional. Target Roku IP (e.g. 192.168.1.75) or serial. Must match an open Dev Studio device tab when provided. | |
| script | Yes | Required. Same shape as for validate_script: object with `steps` array, or a JSON string that parses to that object. |