ue_exec_progress
Execute Python code inside a ScopedSlowTask progress dialog to keep the Unreal Editor responsive during long operations. Report progress with _task.enter_progress_frame and display a cancel button.
Instructions
Run a Python snippet inside a ScopedSlowTask with a progress dialog.
Use this for long-running operations (bulk imports, retargeting, etc.) to keep the UE5 editor responsive and show a cancel button.
Your code can call: _task.enter_progress_frame(N, "Step description") to advance the progress bar by N units.
Args: code: Python snippet to execute with progress reporting task_name: Label shown in the Unreal progress dialog total_work: Total work units for the progress bar (default 100)
Returns: JSON string with StructuredResult.
KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: ue_exec_progress(code="Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| task_name | No | MCP Task | |
| total_work | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |