start_package_build
Initiates an asynchronous Unreal Engine project package build (BuildCookRun) via UAT, returning immediately; poll build status for progress and outcome.
Instructions
Starts an asynchronous project package build (BuildCookRun) via UAT (FSerializedUATProcess), for the current .uproject. Runs RunUAT BuildCookRun -project= -noP4 -utf8output -platform= -clientconfig= -cook -allmaps -build -stage -pak -archive -archivedirectory=. This is a real external process that can take minutes (it builds the target, then cooks); the call returns immediately once launched -- poll get_package_build_status for progress/outcome. Refuses to start a second build while one is already in flight (honest, not silently queued).
Returns: { build_started: bool, already_running: bool, platform: string, configuration: string, archive_directory: string, command_line: string, note: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Optional target platform (UAT platform name, e.g. "Win64"). Defaults to "Win64". | |
| extra_args | No | Optional raw extra UAT arguments appended verbatim (e.g. "-distribution -iostore"). | |
| configuration | No | Optional build configuration ("Debug"|"DebugGame"|"Development"|"Test"|"Shipping"). Defaults to "Development". | |
| archive_directory | No | Optional output directory for the archived build. Defaults to <ProjectSavedDir>/Packages/<platform>. |