Workflows & sandbox
Alpha

Workflows & sandbox

Read bundled workflow instructions and files and process media in the sandbox.

get_preset_instructions

Alpha

List bundled Creative slash commands or load the instructions for one command. Select a command by its slug.

Operation Read only, requires the creative flag

Sample prompt: Show me the bundled Creative slash commands and explain when to use each one.

Parameters

ParameterTypeRequiredDefaultDescription
presetstringNo——

get_workflow_bundle_file

Alpha

Read a file from a bundled Creative workflow or list a directory. Set include_contents to return file contents when listing a directory.

Operation Read only, requires the creative flag

Sample prompt: List the files in the references directory of the selected workflow.

Parameters

ParameterTypeRequiredDefaultDescription
workflowstringYes——
pathstringYes——
include_contentsbooleanNo——

get_workflow_instructions

Alpha

List bundled Creative workflows or load one workflow’s instructions and file paths. Specify the workflow name to get its SKILL.md and the available bundle files.

Operation Read only, requires the creative flag

Sample prompt: Load the instructions for the marketing-headline-variants workflow.

Parameters

ParameterTypeRequiredDefaultDescription
workflowstringNo——

sandbox_exec

Alpha

Run a Bash command in the connected workspace’s remote Linux sandbox for media processing. Commands run in /home/user. Use foreground mode to return previews of up to four PNG or JPEG files, or start a background job and use its log and status files to check progress.

Operation Write, approval required, requires the creative flag

Sample prompt: Convert the saved vertical video to 1080×1920 in the sandbox and show me a preview frame.

Parameters

ParameterTypeRequiredDefaultDescription
commandstringYes—Shell command to run (bash). Runs in the persistent per-workspace sandbox.
backgroundbooleanNo—Run the command detached and return immediately with a pid, log_path, and status_path. Poll with a later sandbox_exec call. Stop with kill <pid>.
image_pathsarray of stringNo—PNG/JPEG files to return as native images after a successful foreground command. All image files together must be <=512 KiB. Split larger sets across calls. Relative paths start at /home/user.
recover_sandbox_idstringNo—After user confirmation, replace this current sandbox while retaining /home/user. Stops all processes. command is required but ignored in recovery mode. Use ':' as a placeholder. Cannot combine with restart, background or image_paths.
restartbooleanNo—Discard the current sandbox (all files and processes) and start a fresh one before running the command.
sizestringNo—Sandbox size (default "standard"). Use "xl" only for heavy rendering or encoding. Both sizes use the same template in alpha.
timeout_secondsintegerNo—Seconds before the command is killed (default 60, max 120). Ignored with background:true.