ue-mcp 1.4.13 → 1.4.14-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/README.md +5 -5
  2. package/dist/bridge/bridge-timeouts.js +4 -0
  3. package/dist/bridge/bridge-timeouts.js.map +1 -1
  4. package/dist/cli/cli-commands.js +1 -0
  5. package/dist/cli/cli-commands.js.map +1 -1
  6. package/dist/cli/doctor.js +2 -1
  7. package/dist/cli/doctor.js.map +1 -1
  8. package/dist/cli/init.js +1 -1
  9. package/dist/cli/init.js.map +1 -1
  10. package/dist/cli/projects-cli.d.ts +3 -0
  11. package/dist/cli/projects-cli.js +72 -0
  12. package/dist/cli/projects-cli.js.map +1 -0
  13. package/dist/config/user-state.d.ts +10 -0
  14. package/dist/config/user-state.js +21 -0
  15. package/dist/config/user-state.js.map +1 -1
  16. package/dist/core/env.d.ts +2 -0
  17. package/dist/core/env.js +2 -0
  18. package/dist/core/env.js.map +1 -1
  19. package/dist/core/types.d.ts +27 -0
  20. package/dist/daemon/daemon.js +44 -5
  21. package/dist/daemon/daemon.js.map +1 -1
  22. package/dist/daemon/extension-api.d.ts +8 -5
  23. package/dist/daemon-api.d.ts +2 -1
  24. package/dist/daemon-api.js +1 -0
  25. package/dist/daemon-api.js.map +1 -1
  26. package/dist/dispatch/offline.js +1 -0
  27. package/dist/dispatch/offline.js.map +1 -1
  28. package/dist/editor/dialog-guard.d.ts +12 -2
  29. package/dist/editor/dialog-guard.js +68 -2
  30. package/dist/editor/dialog-guard.js.map +1 -1
  31. package/dist/editor/editor-control.js +1 -1
  32. package/dist/editor/editor-control.js.map +1 -1
  33. package/dist/flow/write-methods.js +1 -1
  34. package/dist/flow/write-methods.js.map +1 -1
  35. package/dist/machine/projects.d.ts +85 -0
  36. package/dist/machine/projects.js +286 -0
  37. package/dist/machine/projects.js.map +1 -0
  38. package/dist/pie/script-events.d.ts +4 -1
  39. package/dist/pie/script-events.js.map +1 -1
  40. package/dist/surface/context/instructions.js +20 -0
  41. package/dist/surface/context/instructions.js.map +1 -1
  42. package/dist/tool-counts.json +12 -12
  43. package/dist/tools/asset.js +2 -1
  44. package/dist/tools/asset.js.map +1 -1
  45. package/dist/tools/editor.js +1 -1
  46. package/dist/tools/editor.js.map +1 -1
  47. package/dist/tools/epic/effects.js +11 -0
  48. package/dist/tools/epic/effects.js.map +1 -1
  49. package/dist/tools/epic/fab.generated.d.ts +6 -0
  50. package/dist/tools/epic/fab.generated.js +67 -0
  51. package/dist/tools/epic/fab.generated.js.map +1 -0
  52. package/dist/tools/epic/index.d.ts +2 -0
  53. package/dist/tools/epic/index.js +2 -0
  54. package/dist/tools/epic/index.js.map +1 -1
  55. package/dist/tools/epic/toolset-routes.js +2 -0
  56. package/dist/tools/epic/toolset-routes.js.map +1 -1
  57. package/dist/tools/epic.js +4 -4
  58. package/dist/tools/epic.js.map +1 -1
  59. package/dist/tools/fab-epic.d.ts +23 -0
  60. package/dist/tools/fab-epic.js +109 -0
  61. package/dist/tools/fab-epic.js.map +1 -0
  62. package/dist/tools/fab.js +27 -18
  63. package/dist/tools/fab.js.map +1 -1
  64. package/dist/tools/level.js +9 -2
  65. package/dist/tools/level.js.map +1 -1
  66. package/dist/tools/material.js +1 -1
  67. package/dist/tools/material.js.map +1 -1
  68. package/dist/tools/pie.js +1 -1
  69. package/dist/tools/pie.js.map +1 -1
  70. package/dist/tools/specs/asset.generated.js +92 -3
  71. package/dist/tools/specs/asset.generated.js.map +1 -1
  72. package/dist/tools/specs/fab.generated.js +143 -3
  73. package/dist/tools/specs/fab.generated.js.map +1 -1
  74. package/dist/tools/specs/level.generated.js +183 -9
  75. package/dist/tools/specs/level.generated.js.map +1 -1
  76. package/dist/tools/specs/pie.generated.js +28 -8
  77. package/dist/tools/specs/pie.generated.js.map +1 -1
  78. package/dist/tools/specs/widget.generated.js +8 -1
  79. package/dist/tools/specs/widget.generated.js.map +1 -1
  80. package/dist/ue-mcp.default.yml +522 -76
  81. package/package.json +2 -2
  82. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/BridgeServer.cpp +26 -0
  83. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Asset/AssetHandlers.cpp +24 -0
  84. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Asset/AssetHandlers.h +7 -0
  85. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Asset/AssetHandlers_Mesh.cpp +483 -10
  86. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Dialog/DialogHandlers.cpp +345 -1
  87. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Epic/EpicHandlers_AIAssistant.cpp +34 -6
  88. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Fab/FabDownloads.cpp +766 -0
  89. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Fab/FabDownloads.h +26 -0
  90. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Fab/FabHandlers.cpp +159 -55
  91. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Fab/FabHandlers.h +23 -12
  92. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Fab/FabLibrary.cpp +306 -0
  93. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Fab/FabLibrary.h +55 -0
  94. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Level/LevelHandlers.cpp +34 -2
  95. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Level/LevelHandlers.h +9 -0
  96. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Level/LevelHandlers_Blockout.cpp +12 -8
  97. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Level/LevelHandlers_PerfAudit.cpp +3 -1
  98. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Level/LevelHandlers_Refresh.cpp +479 -0
  99. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Level/LevelHandlers_ReplaceActors.cpp +2 -0
  100. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Level/LevelHandlers_WorldPartition.cpp +824 -12
  101. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Material/MaterialHandlers.cpp +95 -1
  102. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PCG/PCGHandlers.cpp +13 -0
  103. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/MCPPIETestScript.h +8 -3
  104. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEHandlers.cpp +2 -0
  105. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEHandlers_Record.cpp +6 -0
  106. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEHandlers_Replay.cpp +1 -0
  107. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEHandlers_Script.cpp +2 -2
  108. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEInputRecorder.cpp +52 -1
  109. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEInputRecorder.h +16 -0
  110. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEInputReplayer.cpp +65 -1
  111. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEInputReplayer.h +15 -0
  112. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEReplayInputLock.cpp +146 -0
  113. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEReplayInputLock.h +53 -0
  114. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEScriptRunner.cpp +351 -14
  115. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEScriptRunner.h +55 -6
  116. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEScriptValidation.cpp +8 -1
  117. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIESequenceFormat.cpp +59 -0
  118. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIESequenceFormat.h +15 -2
  119. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEUIPointer.cpp +567 -0
  120. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/PIEUIPointer.h +173 -0
  121. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/PIE/SMCPPIEStudioPanel.cpp +41 -6
  122. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Handlers/Widget/WidgetHandlers.cpp +92 -32
  123. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Tests/FabDownloadTests.cpp +140 -0
  124. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Tests/FabEndToEndTests.cpp +365 -0
  125. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Tests/FabLibraryTests.cpp +52 -0
  126. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Tests/PCGGraphAuthoringTests.cpp +5 -2
  127. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Tests/PIEReplayInputLockTests.cpp +77 -0
  128. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Tests/PIEScriptTests.cpp +256 -0
  129. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Tests/PIEScriptValidationTests.cpp +18 -0
  130. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/Tests/PIEUIPointerTests.cpp +246 -0
  131. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/Private/UE_MCP_Bridge.cpp +4 -0
  132. package/plugin/ue_mcp_bridge/Source/UE_MCP_Bridge/UE_MCP_Bridge.Build.cs +85 -13
  133. package/plugin/ue_mcp_bridge/Source/UE_MCP_BridgeRuntime/Private/MCPPIEActionTrigger.cpp +48 -0
  134. package/plugin/ue_mcp_bridge/Source/UE_MCP_BridgeRuntime/Private/MCPPIERemoteControl.cpp +93 -0
  135. package/plugin/ue_mcp_bridge/Source/UE_MCP_BridgeRuntime/Public/MCPPIEActionTrigger.h +52 -0
  136. package/plugin/ue_mcp_bridge/Source/UE_MCP_BridgeRuntime/Public/MCPPIERemoteControl.h +54 -0
  137. package/plugin/ue_mcp_bridge/UE_MCP_Bridge.uplugin +2 -2
@@ -2449,7 +2449,10 @@ tasks:
2449
2449
  group: asset
2450
2450
  description: >-
2451
2451
  Inspect StaticMesh collision setup. Returns collisionTraceFlag,
2452
- hasSimple/ComplexCollision, element counts (#177). Params: assetPath
2452
+ hasSimple/ComplexCollision, element counts, the boxes, spheres and
2453
+ capsules as shapes[] in the form set_mesh_simple_collision takes, and
2454
+ bodySetupGuid, the GUID a SplineMeshComponent compares to decide its
2455
+ collision copy is stale (#177). Params: assetPath
2453
2456
  asset.get_static_mesh_geometry:
2454
2457
  class_path: asset.get_static_mesh_geometry
2455
2458
  group: asset
@@ -2671,6 +2674,34 @@ tasks:
2671
2674
  lodIndex?, onConflict?, copyMaterialsFromSource?,
2672
2675
  copyCollisionFromSource?, nanite?, recomputeNormals?, recomputeTangents?,
2673
2676
  removeDegenerates?, save?, dryRun?
2677
+ asset.set_mesh_simple_collision:
2678
+ class_path: asset.set_mesh_simple_collision
2679
+ group: asset
2680
+ description: >-
2681
+ Write explicit simple collision shapes onto a StaticMesh: boxes, spheres
2682
+ and capsules by center, rotation and size in the mesh's local space, the
2683
+ half generate_mesh_collision does not cover since it derives shapes from
2684
+ the mesh. A box's extent is the FULL length along each axis (the FKBoxElem
2685
+ X/Y/Z values), not a half extent; a capsule's length is the straight
2686
+ section, so its height is length + 2 x radius. replace=true (default)
2687
+ removes every existing simple shape, convex hulls included, before
2688
+ writing; false appends. Does what the editor's own collision tools do so
2689
+ dependents see the change: Modify, write AggGeom, InvalidatePhysicsData (a
2690
+ NEW BodySetupGuid) and CreatePhysicsMeshes, PostEditChange the mesh, then
2691
+ recreate the physics state of every loaded component using it. The GUID is
2692
+ the point: a SplineMeshComponent keeps its own copy of the mesh's
2693
+ collision and rebuilds it only when the mesh's BodySetupGuid differs from
2694
+ the one it cached, so a direct AggGeom write leaves every spline copy with
2695
+ the old collision. The rebuilt spline copies are not saved;
2696
+ level(resave_mesh_users) saves them. Returns previousShapes and shapes,
2697
+ previousCounts and counts, the previous and new collisionTraceFlag and
2698
+ bodySetupGuid with guidChanged, componentsRefreshed, saved, persisted and
2699
+ packageDirty, and a rollback that writes the previous shapes back; when
2700
+ the mesh carried convex hulls or other shapes shapes[] cannot express, it
2701
+ says so instead. Writing the shapes already there reports existed=true
2702
+ without rewriting. asset(get_mesh_collision) returns shapes in the same
2703
+ form. Params: assetPath, shapes, replace?, collisionTraceFlag?, save?,
2704
+ dryRun?
2674
2705
  asset.generate_mesh_collision:
2675
2706
  class_path: asset.generate_mesh_collision
2676
2707
  group: asset
@@ -7106,11 +7137,15 @@ tasks:
7106
7137
  description: >-
7107
7138
  World Partition ONLY: list on-disk actor descriptors, including actors
7108
7139
  whose cell is not loaded and which every other actor query therefore
7109
- reports as absent. Returns guid/label/class/bounds/runtimeGrid/dataLayers
7110
- plus a loaded flag, and separate loadedMatches/unloadedMatches counts so
7111
- 'not streamed in' is distinguishable from 'does not exist'. Needs UE 5.5
7112
- or newer (#746). Params: filter?, className?, guids?, bounds?,
7113
- loadedOnly?, unloadedOnly?, cursor?, limit?
7140
+ reports as absent. Returns
7141
+ guid/label/class/package/folderPath/bounds/runtimeGrid/dataLayers plus a
7142
+ loaded flag, and separate loadedMatches/unloadedMatches counts so 'not
7143
+ streamed in' is distinguishable from 'does not exist'. packages[] looks
7144
+ actors up by their external actor package (full path or the XX/YY/NAME
7145
+ tail, as a changelist lists them) and reports the ones no descriptor holds
7146
+ as missingPackages. Needs UE 5.5 or newer (#746). Params: filter?,
7147
+ className?, guids?, packages?, bounds?, loadedOnly?, unloadedOnly?,
7148
+ cursor?, limit?
7114
7149
  level.load_actor_descs:
7115
7150
  class_path: level.load_actor_descs
7116
7151
  group: level
@@ -7119,11 +7154,55 @@ tasks:
7119
7154
  normal actor actions can reach them, or unpin to release. Pinning is used
7120
7155
  rather than transient streaming because a transient load is dropped again
7121
7156
  by the streaming system mid-measurement. Takes the same filters as
7122
- list_actor_descs and refuses to act on more than maxActors (default 256)
7123
- so an unfiltered call cannot pin a whole map by accident. Reports
7124
- residentAfter, read back from the world rather than assumed. Needs UE 5.5
7125
- or newer (#746). Params: mode?, filter?, className?, guids?, bounds?,
7126
- loadedOnly?, unloadedOnly?, maxActors?, dryRun?
7157
+ list_actor_descs (packages[] included, with missingPackages) and refuses
7158
+ to act on more than maxActors (default 256) so an unfiltered call cannot
7159
+ pin a whole map by accident. Reports residentAfter, read back from the
7160
+ world rather than assumed. Unpinning releases pins and nothing else: an
7161
+ actor an editor loaded region or location volume holds stays resident, and
7162
+ list_loaded_regions / unload_loaded_regions release those. Needs UE 5.5 or
7163
+ newer (#746). Params: mode?, filter?, className?, guids?, packages?,
7164
+ bounds?, loadedOnly?, unloadedOnly?, maxActors?, dryRun?
7165
+ level.list_loaded_regions:
7166
+ class_path: level.list_loaded_regions
7167
+ group: level
7168
+ description: >-
7169
+ World Partition ONLY: list the editor loader adapters that keep actors
7170
+ resident, which load_actor_descs(unpin) cannot release because they are
7171
+ not pins: user loaded regions (the World Partition editor's Load Region
7172
+ from Selection, and the regions the editor restores when a map is
7173
+ reopened), location volumes, and any other loader the engine tracks. Each
7174
+ row has an id that unload_loaded_regions accepts, its kind (userRegion,
7175
+ locationVolume, actor or other), label, bounds, loaded, and actorCount /
7176
+ residentActors / dirtyActorPackages measured over those bounds (the
7177
+ adapter keeps its own reference set private, so the count is the spatially
7178
+ loaded descriptors that meet the box). Unloaded sources are hidden unless
7179
+ includeUnloaded=true. Paged. Needs UE 5.5 or newer. Params:
7180
+ includeUnloaded?, bounds?, cursor?, limit?
7181
+ level.unload_loaded_regions:
7182
+ class_path: level.unload_loaded_regions
7183
+ group: level
7184
+ description: >-
7185
+ World Partition ONLY: unload editor loaded regions and location volumes by
7186
+ id (from list_loaded_regions) and/or by a bounds box, the same as Unload
7187
+ Region in the World Partition editor, which is the only way to make actors
7188
+ a loaded region holds non-resident. Refuses the whole request, unloading
7189
+ nothing, when a region holds actors whose packages are dirty (their
7190
+ unsaved edits would be discarded) unless force=true; refuses more than
7191
+ maxRegions (default 8) so a wide box cannot unload everything; dryRun
7192
+ previews. residentAfter is read back from the world over the unloaded
7193
+ footprint, with residentPinnedAfter and a note when something else (a pin,
7194
+ an overlapping region) still holds actors. Needs UE 5.5 or newer. Params:
7195
+ at least one of ids/bounds, maxRegions?, force?, dryRun?
7196
+ level.load_region:
7197
+ class_path: level.load_region
7198
+ group: level
7199
+ description: >-
7200
+ World Partition ONLY: load a box as a user loaded region, the same as Load
7201
+ Region from Selection in the World Partition editor, and return its id for
7202
+ unload_loaded_regions. Refuses a box holding more than maxActors (default
7203
+ 256) actors; a loaded region over the same box is reported as existed. Its
7204
+ rollback is unload_loaded_regions for that id. Needs UE 5.5 or newer.
7205
+ Params: bounds, label?, maxActors?, dryRun?
7127
7206
  level.get_world_partition_settings:
7128
7207
  class_path: level.get_world_partition_settings
7129
7208
  group: level
@@ -7820,6 +7899,34 @@ tasks:
7820
7899
  collisionSummary histogram (#915). Params: at least one of
7821
7900
  actorLabels/labelPrefix/tag/classFilter/componentClass/componentNameContains,
7822
7901
  dryRun?, maxComponents?, world?, pieInstance?
7902
+ level.resave_mesh_users:
7903
+ class_path: level.resave_mesh_users
7904
+ group: level
7905
+ description: >-
7906
+ Rebuild the collision of every LOADED component using the given static
7907
+ meshes, then save exactly the packages that own those actors. Use it after
7908
+ a mesh's collision changed. A SplineMeshComponent keeps its own deformed
7909
+ copy of its mesh's collision, saved with the actor, and rebuilds it only
7910
+ when the mesh's BodySetupGuid differs from the one it cached, so an
7911
+ AggGeom edit that left the GUID alone leaves every copy stale in memory
7912
+ and on disk. recreateCollision (default true) calls RecreateCollision on
7913
+ each SplineMeshComponent, rebuilding the copy from the current mesh
7914
+ whatever the GUID says, and RecreatePhysicsState on every match.
7915
+ Components match by mesh object path, case-insensitive, and componentClass
7916
+ narrows them to StaticMeshComponent or SplineMeshComponent (default any).
7917
+ Matches are grouped by the actor's external package (one file per actor)
7918
+ or its level's package, and those are saved through the same targeted save
7919
+ asset(save, assetPaths) uses, so no other dirty package is written. A
7920
+ package holding only StaticMeshComponents has nothing of its own to write
7921
+ and reports notDirty. dryRun DEFAULTS TO TRUE and lists every package,
7922
+ actor and component with the component's current body setup GUID and
7923
+ bounds, and for a spline whether its cached GUID matches the mesh. Per
7924
+ package: actor labels, componentCount, status saved | notDirty | failed
7925
+ with a reason, wasDirty, and the file's size and mtime before and after
7926
+ with fileChanged. Scans only actors resident in the editor world; on World
7927
+ Partition, load the cells first with level(load_actor_descs). Refuses
7928
+ during PIE and over maxActors. Params: meshPaths, componentClass?,
7929
+ recreateCollision?, save?, dryRun?, maxActors?
7823
7930
  level.test_component_overlap:
7824
7931
  class_path: level.test_component_overlap
7825
7932
  group: level
@@ -8893,7 +9000,10 @@ tasks:
8893
9000
  description: >-
8894
9001
  Set a value on an expression node. Common typed knobs: value
8895
9002
  (constant/param default), texturePath
8896
- (TextureSample/TextureSampleParameter2D default texture).
9003
+ (TextureSample/TextureSampleParameter2D default texture; applied as a
9004
+ native property edit, the material recompiled with its static-permutation
9005
+ instances, and the response reports samplerType, compileErrors on 5.8+ and
9006
+ shaderState, which lists instances left without a shader map, #1441).
8897
9007
  Constant2Vector/3Vector/4Vector and VectorParameter all take value (or
8898
9008
  color) as {r,g,b,a}, {x,y,z,w}, [r,g,b,a] or '(R=..,G=..)';
8899
9009
  Constant2Vector reads the first two components (#979). Saves the material
@@ -22851,7 +22961,7 @@ tasks:
22851
22961
  widgetName makes a retry safe, and the result carries
22852
22962
  requestedWidgetName/persistedWidgetName/renamed plus compileStatus.
22853
22963
  Params: assetPath (or path), widgetClass (or typeName), widgetName? (or
22854
- name), parentWidgetName?
22964
+ name), parentWidgetName?, childIndex?
22855
22965
  widget.build_tree:
22856
22966
  class_path: widget.build_tree
22857
22967
  group: widget
@@ -26040,12 +26150,14 @@ tasks:
26040
26150
  question per row (the "Save Content" prompt is a checkbox per unsaved
26041
26151
  package), an `items` array reports each tickable row: its index, its
26042
26152
  label, its cells (asset name, package path, class path) and whether it is
26043
- currently ticked. No button is marked recommended and none is reordered;
26044
- choosing is yours. Also reports which armed policy matches and which
26045
- button that policy would press, if any. `blocksGameThread` says whether
26046
- the editor is actually held: true only for a window on Slate's modal
26047
- stack, which is what parks the game thread and refuses every other action.
26048
- A prompt the editor raised without AddModalWindow comes back with
26153
+ currently ticked. `blocks` is the same body in reading order without the
26154
+ title or button labels: paragraphs, and each list as a table {columns,
26155
+ rows, checked, items} (#1891). No button is marked recommended and none is
26156
+ reordered; choosing is yours. Also reports which armed policy matches and
26157
+ which button that policy would press, if any. `blocksGameThread` says
26158
+ whether the editor is actually held: true only for a window on Slate's
26159
+ modal stack, which is what parks the game thread and refuses every other
26160
+ action. A prompt the editor raised without AddModalWindow comes back with
26049
26161
  `blocksGameThread` false and `detectedBy` parentedWindow - it is reported,
26050
26162
  because an unanswered question must not be quit out from under, and
26051
26163
  nothing is refused for it (#1118). `notTreatedAsDialogs` names any window
@@ -27449,7 +27561,8 @@ tasks:
27449
27561
  Saved/MCPRecordings/<id>. Rolls back with record_disarm. Params: actions?,
27450
27562
  track_values?, track_actors?, axis_threshold?, sample_hz?, pin_fps?,
27451
27563
  capture_pawn_state?, capture_montage?, take_record?, client_id?,
27452
- pie_instance?, rng_seed?, run_gap_frames?, recording_dir?, id?
27564
+ pie_instance?, rng_seed?, run_gap_frames?, capture_ui_pointer?,
27565
+ recording_dir?, id?
27453
27566
  pie.record_disarm:
27454
27567
  class_path: pie.record_disarm
27455
27568
  group: pie
@@ -27493,8 +27606,8 @@ tasks:
27493
27606
  and records drift. Rolls back with replay_disarm. Params: recording_id?,
27494
27607
  sequence_path?, recording_dir?, steps?, settle_ms?, sample_hz?, rng_seed?,
27495
27608
  pin_fps?, apply_rng_seed?, record_drift?, auto_stop_pie?, eject?,
27496
- time_scale?, mode?, capture_frame_every?, encode_gif?, fixed_timestep?,
27497
- client_id?, pie_instance?, drift_thresholds?, start_when?
27609
+ lock_input?, time_scale?, mode?, capture_frame_every?, encode_gif?,
27610
+ fixed_timestep?, client_id?, pie_instance?, drift_thresholds?, start_when?
27498
27611
  pie.replay_run:
27499
27612
  class_path: pie.replay_run
27500
27613
  group: pie
@@ -27503,9 +27616,9 @@ tasks:
27503
27616
  drift.json. Poll replay_status until pie_active=false. Params:
27504
27617
  recording_id?, sequence_path?, recording_dir?, steps?, settle_ms?,
27505
27618
  sample_hz?, rng_seed?, pin_fps?, apply_rng_seed?, record_drift?,
27506
- auto_stop_pie?, eject?, time_scale?, mode?, capture_frame_every?,
27507
- encode_gif?, fixed_timestep?, client_id?, pie_instance?,
27508
- drift_thresholds?, start_when?
27619
+ auto_stop_pie?, eject?, lock_input?, time_scale?, mode?,
27620
+ capture_frame_every?, encode_gif?, fixed_timestep?, client_id?,
27621
+ pie_instance?, drift_thresholds?, start_when?
27509
27622
  pie.replay_disarm:
27510
27623
  class_path: pie.replay_disarm
27511
27624
  group: pie
@@ -27681,21 +27794,27 @@ tasks:
27681
27794
  description: >-
27682
27795
  Create a test script asset: steps of {instruction, judge auto|manual,
27683
27796
  arrange, act, expect {value, op
27684
- decreasing|increasing|eq|gt|lt|visible|exists, target, within_ms}}.
27685
- arrange takes a scenario's spawn|set|call entries and act takes uat_run's
27686
- step actions (place, press, inject, hold, tape, console, capture,
27687
- wait_ms); they run in that order before the expect window, which counts
27688
- from the end of act. Always saves, returning what the check finds as
27689
- warnings [{step, field, message, candidates}]: an expect.value the level,
27690
- player pawn and profile do not resolve, an op or target the value's type
27691
- cannot meet, an actor, actor class or Input Action arrange and act name
27692
- that does not exist, or no auto step without manual_only=true.
27693
- resolve_in_pie=true on a step defers a value that only exists in PIE.
27694
- Refused (INVALID_SCRIPT_STEPS, errors in the same shape) only when the
27695
- script cannot be written: no steps, a step that does not parse, or a map
27696
- (e.g. /Game/Maps/L_Arena) that is not a level. Params: name,
27697
- package_path?, steps, description?, profile?, map?, default_within_ms?,
27698
- manual_only?, onConflict?
27797
+ decreasing|increasing|eq|gt|lt|visible|exists|triggered, target,
27798
+ within_ms, client}}. arrange takes a scenario's spawn|set|call entries and
27799
+ act takes uat_run's step actions (place, press, inject, hold, tape,
27800
+ console, capture, wait_ms); they run in that order before the expect
27801
+ window, which counts from the end of act. op triggered waits for the
27802
+ person playing to fire the Input Action value names (e.g.
27803
+ /Game/Input/IA_Interact) on player client (0 or absent the editor's own
27804
+ player, 1..N a remote player): only a fresh trigger after act ends counts,
27805
+ not input still held when the window opens, the evidence records
27806
+ triggered_at_ms and action_value, and within_ms 0 or absent waits with no
27807
+ timeout until it fires or script_stop. Always saves, returning what the
27808
+ check finds as warnings [{step, field, message, candidates}]: an
27809
+ expect.value the level, player pawn and profile do not resolve, an op or
27810
+ target the value's type cannot meet, an actor, actor class or Input Action
27811
+ arrange, act or a triggered expect name that does not exist, or no auto
27812
+ step without manual_only=true. resolve_in_pie=true on a step defers a
27813
+ value that only exists in PIE. Refused (INVALID_SCRIPT_STEPS, errors in
27814
+ the same shape) only when the script cannot be written: no steps, a step
27815
+ that does not parse, or a map (e.g. /Game/Maps/L_Arena) that is not a
27816
+ level. Params: name, package_path?, steps, description?, profile?, map?,
27817
+ default_within_ms?, manual_only?, onConflict?
27699
27818
  pie.script_read:
27700
27819
  class_path: pie.script_read
27701
27820
  group: pie
@@ -32129,8 +32248,10 @@ tasks:
32129
32248
  class_path: epic.call_tool
32130
32249
  group: epic
32131
32250
  description: >-
32132
- Execute a registered Epic tool exactly as its MCP server would. tool takes
32133
- the qualified name from describe_toolset, e.g.
32251
+ Execute a registered Epic tool exactly as its MCP server would. toolset
32252
+ takes the qualified toolset name from list_toolsets and is required, e.g.
32253
+ GASToolsets.AttributeSetToolset; tool takes the tool's name from
32254
+ describe_toolset, bare or qualified, e.g.
32134
32255
  GASToolsets.AttributeSetToolset.ListAttributeSets; pass the arguments as
32135
32256
  input, or as inputJson to send raw JSON. Returns the tool's JSON result;
32136
32257
  images its output schema marks (FToolsetImage) come back as MCP image
@@ -32187,11 +32308,12 @@ tasks:
32187
32308
  SendTextMessage (reply=false). Empty conversationId starts a new
32188
32309
  conversation. Opens the assistant panel, which needs the editor's Epic
32189
32310
  sign-in to answer. Waits (default 300s) and returns state complete with
32190
- reply (and conversationId, taken from the first update event when none was
32191
- given) or, with reply=false, the conversationId the message was bound to;
32192
- wait=false returns state pending and a requestId for get_request. A
32193
- timeout fails with state timed_out and keeps the requestId. Engines before
32194
- 5.9 return unsupported_engine_version. Params: message, conversationId?,
32311
+ reply (and conversationId: the one the reply names, or on builds whose
32312
+ reply is bare text the first update event's, when none was given) or, with
32313
+ reply=false, the conversationId the message was bound to; wait=false
32314
+ returns state pending and a requestId for get_request. A timeout fails
32315
+ with state timed_out and keeps the requestId. Engines before 5.9 return
32316
+ unsupported_engine_version. Params: message, conversationId?,
32195
32317
  hiddenContext?, reply?, wait?, timeoutSeconds?
32196
32318
  epic.ai_assistant_get_conversation:
32197
32319
  class_path: epic.ai_assistant_get_conversation
@@ -32200,9 +32322,9 @@ tasks:
32200
32322
  Read an AI Assistant conversation as Epic serializes it
32201
32323
  (UAIAssistantInstance::GetConversationJson): conversation is the parsed
32202
32324
  JSON (conversationJson when it does not parse). Empty conversationId reads
32203
- the active conversation. Opens the assistant panel. Waits like
32204
- send_message (default 60s). Params: conversationId?, wait?,
32205
- timeoutSeconds?
32325
+ the active conversation. Does not open the assistant panel, and fails
32326
+ while it is closed (send_message opens it). Waits like send_message
32327
+ (default 60s). Params: conversationId?, wait?, timeoutSeconds?
32206
32328
  epic.ai_assistant_get_request:
32207
32329
  class_path: epic.ai_assistant_get_request
32208
32330
  group: epic
@@ -32357,44 +32479,129 @@ tasks:
32357
32479
  not a JSON object, or the file cannot be written. Available on UE 5.9;
32358
32480
  absent from UE 5.8. Params: alias, fileId, summary, tags, bodyJson,
32359
32481
  entryId
32482
+ fab.list_epic_tools:
32483
+ class_path: fab.list_epic_tools
32484
+ group: fab
32485
+ description: >-
32486
+ List Epic's built-in Fab tools the connected editor has, which search the
32487
+ Fab catalog and import listings (the Fab plugin's FabToolset.FabToolset in
32488
+ Unreal's Toolset Registry, UE 5.9, and any Fab tool registered with Epic's
32489
+ Unreal MCP plugin). Each tool names the call that runs it: epic(call_tool)
32490
+ with its toolset and qualified name, or epic(call_mcp_tool), plus the fab
32491
+ epic_* action that wraps it when this session has one. ue-mcp does not
32492
+ replace these tools; use them for catalog search and free-asset import,
32493
+ and fab's own actions for the owned library. includeSchemas returns each
32494
+ tool's input schema. available=false with a note when the editor has none.
32495
+ Params: includeSchemas? (bool)
32360
32496
  fab.status:
32361
32497
  class_path: fab.status
32362
32498
  group: fab
32363
32499
  description: >-
32364
- Report Fab plugin state: whether the module is loaded, whether the native
32500
+ Report Fab plugin state: authenticated (whether a native Fab session is
32501
+ available), whether the plugin is installed and enabled (pluginDir,
32502
+ pluginVersion), whether the module is loaded, whether the native
32365
32503
  import/cache API is linked in this build, whether the Fab window has been
32366
- opened this session, and the download cache location/size. Call this
32367
- first. Params: none
32504
+ opened this session, the download cache location/size, and librarySync
32505
+ state with pages, snapshotItems, publishedRows and any sanitized failure.
32506
+ The launcher installs Fab as its own 'Fab UE Plugin' item, so an engine
32507
+ can lack it; then errorCode is PLUGIN_NOT_AVAILABLE and note says what is
32508
+ missing and how to install it, the same reason the other Fab actions
32509
+ refuse with. Call this first. Params: none
32368
32510
  fab.login:
32369
32511
  class_path: fab.login
32370
32512
  group: fab
32371
32513
  description: >-
32372
- Trigger the Fab login flow (EOS account portal). Asynchronous - returns
32373
- once the flow is opened, not once authenticated. Complete any prompt, then
32374
- call status. No inverse: it creates no state of its own, and logout would
32375
- clear a session that may predate the call, so the response says
32376
- rollbackPossible=false. It carries no unchanged/already* flag either, and
32377
- says so with idempotencyObservable=false: the Fab module publishes no
32378
- authentication state this build can read back, so a flag here would be a
32379
- claim rather than a reading. Params: none
32514
+ Open the native Fab EOS account portal. With a session already active it
32515
+ opens nothing and answers unchanged=true. Returns before authentication
32516
+ completes; finish any prompt, then poll status.authenticated. No inverse:
32517
+ opening a portal does not own the resulting account session.
32518
+ idempotencyObservable=false because this call cannot attribute a later
32519
+ login to itself. Params: none
32380
32520
  fab.logout:
32381
32521
  class_path: fab.logout
32382
32522
  group: fab
32383
32523
  description: >-
32384
- Clear the persistent Fab authentication for this device. No inverse:
32385
- logging back in needs a person at the EOS account portal, and no call
32386
- restores cleared credentials. idempotencyObservable=false, because whether
32387
- a session was there to clear is not readable from here. Params: none
32524
+ Request native Fab logout and clear this editor's owned-library snapshot.
32525
+ EOS completes asynchronously; poll status.authenticated until false. No
32526
+ inverse: cleared credentials require a person to sign back in. Params:
32527
+ none
32388
32528
  fab.sync_library:
32389
32529
  class_path: fab.sync_library
32390
32530
  group: fab
32391
32531
  description: >-
32392
- Load the user's owned Fab library ("My Folder") into the Content Browser
32393
- via TEDS. Requires an active login; items appear asynchronously. No
32394
- inverse: it populates an in-editor index of what the account already owns,
32395
- nothing un-lists it, and nothing on disk or in the project changes.
32396
- idempotencyObservable=false, because the sync lands after this call
32397
- returns. Params: batchSize?
32532
+ Sync the owned Fab library into the native Content Browser table (UE
32533
+ 5.8+). Requires a native login. Returns immediately; poll
32534
+ status.librarySync until complete or failed. Fetches all pages before
32535
+ replacing the previous snapshot, preserving it on HTTP, JSON, pagination
32536
+ or publication failure. No project files change. Params: batchSize?
32537
+ fab.list_owned:
32538
+ class_path: fab.list_owned
32539
+ group: fab
32540
+ description: >-
32541
+ Read the current account's synced owned metadata and supported
32542
+ projectVersions, with local title filtering and pagination. Each row adds
32543
+ listingId (what download takes) and availableForThisEditor (this editor's
32544
+ engine and platform are among its projectVersions). Complete sync_library
32545
+ first; before it, errorCode FAB_NOT_SIGNED_IN or FAB_LIBRARY_NOT_SYNCED
32546
+ says which step is missing. Only the owned library: to search the public
32547
+ catalog use Epic's built-in Fab tools (list_epic_tools). Params: query?,
32548
+ offset?, limit?
32549
+ fab.download:
32550
+ class_path: fab.download
32551
+ group: fab
32552
+ description: >-
32553
+ Start an owned native UE asset-pack download. engineVersion and platform
32554
+ default to this editor's; a listing without that build answers with the
32555
+ versions it offers. Returns job immediately; poll download_status for
32556
+ complete or failed. Native BuildPatchServices verifies SHA hashes and
32557
+ reuses partial staging. Defaults to the native Fab cache. verifyOnly
32558
+ checks an existing tree without repairing it. Repeat the same
32559
+ listing/version/outputDirectory after an editor restart to resume. No
32560
+ project content changes until install_pack. Params: listingId,
32561
+ engineVersion?, platform?, outputDirectory?, verifyOnly?
32562
+ fab.download_status:
32563
+ class_path: fab.download_status
32564
+ group: fab
32565
+ description: >-
32566
+ Read asynchronous job state, native phase, progress, required/downloaded
32567
+ bytes and failure code; omit jobId to list this editor session's jobs. No
32568
+ tokens or signed URLs are returned. Params: jobId?
32569
+ fab.pause_download:
32570
+ class_path: fab.pause_download
32571
+ group: fab
32572
+ description: >-
32573
+ Stop network/assembly work while keeping native verified files and
32574
+ staging. Wait for paused before resuming. Can pause distribution
32575
+ resolution too. Params: jobId
32576
+ fab.resume_download:
32577
+ class_path: fab.resume_download
32578
+ group: fab
32579
+ description: >-
32580
+ Resume a paused, failed or cancelled job. Reuses the native Fab session
32581
+ and obtains a fresh distribution signature before native verification and
32582
+ repair. Params: jobId
32583
+ fab.cancel_download:
32584
+ class_path: fab.cancel_download
32585
+ group: fab
32586
+ description: >-
32587
+ Cancel a job while retaining its verified data for an explicit later
32588
+ resume. Does not delete downloaded or installed content. Params: jobId
32589
+ fab.install_pack:
32590
+ class_path: fab.install_pack
32591
+ group: fab
32592
+ description: >-
32593
+ Copy a completed, SHA-verified pack's native Content packages into this
32594
+ project, preserving package paths. Checks every source and collision
32595
+ first; different existing files are refused. Skips identical files and
32596
+ installs no Config, engine plugins or settings. Records exactly which
32597
+ files it created for remove_installation. Params: jobId
32598
+ fab.remove_installation:
32599
+ class_path: fab.remove_installation
32600
+ group: fab
32601
+ description: >-
32602
+ Remove only unchanged, unloaded project files that this session's
32603
+ install_pack job created. Refuses modified or loaded packages before
32604
+ deleting anything; preserves pre-existing identical files. Params: jobId
32398
32605
  fab.list_cached:
32399
32606
  class_path: fab.list_cached
32400
32607
  group: fab
@@ -32436,11 +32643,250 @@ tasks:
32436
32643
  Open fab.com's own search page at a query in the user's default browser.
32437
32644
  Builds
32438
32645
  https://www.fab.com/search?q=<query>&listing_types=<listingType>&asset_formats=<assetFormat>&is_free=1,
32439
- leaving out unset filters. Sends no request to Fab and returns no listing
32440
- data: Fab has no search API and its terms forbid automated access.
32441
- open=false returns the URL without opening it, for showing as a link.
32442
- Returns url and opened. Params: query, listingType?, assetFormat?, free?,
32443
- open?
32646
+ leaving out unset filters. This action itself sends no request to Fab and
32647
+ returns no listing data; to search the catalog and import listings from
32648
+ the editor, use Epic's built-in Fab tools (list_epic_tools). open=false
32649
+ returns the URL without opening it, for showing as a link. Returns url and
32650
+ opened. Params: query, listingType?, assetFormat?, free?, open?
32651
+ fab.epic_fab_sign_in:
32652
+ class_path: fab.epic_fab_sign_in
32653
+ group: fab
32654
+ description: >-
32655
+ [Epic FabToolset.FabToolset] Starts Fab sign-in by opening the Epic
32656
+ account portal in the user's system browser. Only needed when another tool
32657
+ reports that nobody is signed in. Sign-in normally persists across editor
32658
+ restarts, so this is usually a one-time step per machine. This does NOT
32659
+ wait for the user to finish. It returns as soon as the browser has been
32660
+ asked to open, with status "browser-opened". Tell the user a browser
32661
+ window has opened and they need to complete sign-in there. Do NOT claim
32662
+ they are signed in - call search_fab_my_library afterwards to find out.
32663
+ Available on UE 5.9; absent from UE 5.8. Params: none
32664
+ fab.epic_get_fab_listing_details:
32665
+ class_path: fab.epic_get_fab_listing_details
32666
+ group: fab
32667
+ description: >-
32668
+ [Epic FabToolset.FabToolset] Reads the full details of one Fab listing:
32669
+ description, tags, licenses and their prices, rating. Use this after
32670
+ search_fab_listings or search_fab_my_library, when the user asks what
32671
+ something actually is or does, or what it costs. The listingId comes from
32672
+ one of those results. Reports description (possibly shortened -
32673
+ descriptionTruncated says so), tags, licenses, assetFormats, free,
32674
+ limitedTimeFree, freeUntil, rating, publishedAt, fabUrl, and mature when
32675
+ it is 18+ content. Each license carries name, licenseId and free and, when
32676
+ Fab prices it, price and priceCurrency - with discountedPrice,
32677
+ discountPercentage, effectiveDiscountPercentage, lowestPriorPrice and
32678
+ discountEndDate during a sale. Rules for reporting this: - Describe what a
32679
+ listing contains only from its description and tags. Never add content
32680
+ they do not name, even when the title or seller suggests it. When
32681
+ descriptionTruncated is true, say the rest was not read rather than
32682
+ guessing at it. - These tools return no images: a search result's
32683
+ thumbnailUrl is a link you have not seen. If you do see a listing's images
32684
+ and they show something the description does not name, tell the user it
32685
+ appears in the images but not in the description, rather than stating it
32686
+ as part of the listing. - limitedTimeFree true means one of its licenses
32687
+ has a discountedPrice of 0 until freeUntil (UTC). free stays false. That
32688
+ license's price is its price without the discount. To install such a
32689
+ listing, the user must first add it to their library from fabUrl, while it
32690
+ is free; then install it from search_fab_my_library. Do not call
32691
+ install_fab_listing for it before that. - It does NOT report supported
32692
+ engine versions. If the user asks about compatibility, read engineVersions
32693
+ from the search_fab_listings result instead. Do not say the listing
32694
+ supports no engine versions, and do not guess. - It does not report
32695
+ ownership either. Use search_fab_my_library for that. -
32696
+ aiTrainingForbidden true means the seller forbids using it to train AI
32697
+ models. Refer to https:www.fab.com/eula and section "Content that May Not
32698
+ be Used As Training Input Into Generative AI Programs." in there for more
32699
+ information about this restriction. - Prices are per license, in the
32700
+ user's Fab account currency, as the Fab website shows them. Fab may add
32701
+ VAT or other tax at checkout in some regions, so do not say whether a
32702
+ price includes tax. Say which license a price is for, and quote it with
32703
+ its priceCurrency. free at the top level means at least one license costs
32704
+ nothing. - A license with free false and no price is one Fab did not
32705
+ price: nobody is signed in, or Fab could not price it. Send the user to
32706
+ fabUrl for the price; do not retry. - During a sale, discountedPrice is
32707
+ what the user pays until discountEndDate. lowestPriorPrice is the lowest
32708
+ price in the 30 days before the sale, and effectiveDiscountPercentage the
32709
+ discount measured from it rather than from price. - fabUrl is the
32710
+ listing's page. Give it, copied exactly, whenever you name the listing.
32711
+ Never build one from listingId; when fabUrl is absent, give no link. - A
32712
+ "no such listing" failure can also mean the listing is no longer public,
32713
+ so do not tell the user it never existed. Available on UE 5.9; absent from
32714
+ UE 5.8. Params: listingId
32715
+ fab.epic_install_fab_listing:
32716
+ class_path: fab.epic_install_fab_listing
32717
+ group: fab
32718
+ description: >-
32719
+ [Epic FabToolset.FabToolset] Installs a Fab asset into the running editor:
32720
+ one the user owns, or a free one. Returns JSON: { listingId, assetFormat,
32721
+ title, status, message }. "handed-to-editor" adds kind, and engineVersion
32722
+ when one was used; "choose-file" adds files, each { fileId, fileName }.
32723
+ Which search result to install from: - Something the user owns: its
32724
+ search_fab_my_library result. - A free listing (free true) the user does
32725
+ not own: its search_fab_listings result. Free content installs straight
32726
+ into the project in every format, unreal-engine included. Do NOT ask the
32727
+ user to add it to their library first. - The one exception is a listing
32728
+ with limitedTimeFree true in get_fab_listing_details that is not in the
32729
+ user's library. It does not install, in any format, until the user adds it
32730
+ to their library on Fab. Tell them to do that first, from its fabUrl, then
32731
+ install it from search_fab_my_library. You cannot add anything to the
32732
+ library yourself. - Anything else needs a license first, which the user
32733
+ gets on Fab from its fabUrl. Installs these formats: unreal-engine (asset
32734
+ packs and code plugins), glb, gltf, fbx, converted-files and metahuman.
32735
+ Pass listingId and title from that result, and the fields of one of its
32736
+ installOptions - assetFormat always, engineVersion and distributionMethod
32737
+ when the option has them - exactly as returned. Values are checked for
32738
+ form, not for where they came from: a missing required value, a malformed
32739
+ one or an engineVersion newer than this editor is rejected, but any other
32740
+ valid value is used as given, so an edited one installs something other
32741
+ than the option the user saw. Pass title as well: the editor's download
32742
+ notification shows it, and glb, gltf, fbx and converted-files are imported
32743
+ into a folder named after it. CRITICAL - this is fire-and-forget. status
32744
+ is "handed-to-editor", "already-in-progress" or "choose-file", NEVER
32745
+ "installed". A successful result means a download is running, not that the
32746
+ asset is imported and usable. Tell the user the download has begun and
32747
+ that progress appears in the editor. Do NOT tell them it is ready, and do
32748
+ not offer to place or use the asset immediately afterwards. kind says what
32749
+ was started, and the two finish differently: - "content" imports into the
32750
+ project on its own. - "plugin" installs into the project's Plugins
32751
+ directory and then stops. The editor asks to restart, and the plugin does
32752
+ nothing until the user accepts. Warn them about the restart prompt when
32753
+ you report a plugin install, and do not claim the plugin is available.
32754
+ "choose-file" means the format has several files - often quality levels or
32755
+ variants - and nothing was downloaded. Show the user the fileName of each,
32756
+ ask which they want, and call this again with the same arguments plus that
32757
+ file's fileId. Do not pick one yourself unless the user already said
32758
+ which. "already-in-progress" means this asset was already downloading,
32759
+ from an earlier call or from the Fab tab, and this call started nothing.
32760
+ Say so rather than reporting a fresh download, and do not call this again
32761
+ for the same asset. Failure cases worth relaying accurately: - "you don't
32762
+ appear to own a license to this" means exactly that. Fab reports an
32763
+ unowned asset much the same way it reports a missing one, so do NOT tell
32764
+ the user the asset does not exist. - When a free listing the user does not
32765
+ own is refused - "you don't appear to own a license to this" or "no such
32766
+ download" - Fab serves it only to accounts that have it in their library.
32767
+ Give the user its fabUrl to add it there, then install it from
32768
+ search_fab_my_library. - if it reports that nobody is signed in, call
32769
+ fab_sign_in and then try again. - a refusal naming an EULA - the Fab EULA,
32770
+ or the UEM EULA for a Legacy UEM listing - means the signed-in Fab account
32771
+ has not accepted it. Tell the user they need to read and accept that EULA,
32772
+ which governs the use of this asset, and give its link. They accept it for
32773
+ their Fab account; it cannot be accepted from here. Never say it was
32774
+ accepted, and do not retry the install until the user says they have
32775
+ accepted it. Available on UE 5.9; absent from UE 5.8. Params: listingId,
32776
+ assetFormat, engineVersion?, distributionMethod?, title?, fileId?
32777
+ fab.epic_search_fab_listings:
32778
+ class_path: fab.epic_search_fab_listings
32779
+ group: fab
32780
+ description: >-
32781
+ [Epic FabToolset.FabToolset] Searches the whole Fab marketplace, as JSON:
32782
+ { query, results: [...], nextCursor }. Use this when the user wants to
32783
+ find or buy something: "is there a X on Fab", "find me a medieval village
32784
+ pack", "what environment packs are there". To search what they already
32785
+ have, use search_fab_my_library, which reads their library directly. Each
32786
+ result carries listingId, title, seller, sellerId, listingType, fabUrl,
32787
+ free, rating, licenses (each a name and licenseId), assetFormats,
32788
+ installOptions, engineVersions, distributionMethod, and mature when it is
32789
+ 18+ content. Pass listingId to get_fab_listing_details for the full
32790
+ description and each license's price. fabUrl is the listing's page on Fab.
32791
+ Rules for reporting these results: - Give every listing you name with its
32792
+ fabUrl, copied exactly. Never build one from listingId; when a result has
32793
+ no fabUrl, give no link for it. - There is no description here, and a
32794
+ title or seller does not say what a listing contains. Do not describe its
32795
+ contents until get_fab_listing_details has reported them; until then, say
32796
+ you have not checked. - There are no prices here. free true means at least
32797
+ one license costs nothing; the others may not. get_fab_listing_details
32798
+ says which license is free and what the rest cost. - This route does not
32799
+ report ownership, so a hit says nothing about whether the user already
32800
+ owns the listing. search_fab_my_library is what answers that. -
32801
+ installOptions is how install_fab_listing would install the listing in
32802
+ this editor, one entry per format, as in search_fab_my_library. Empty
32803
+ means it can use none of its formats - say so when it matters to the user.
32804
+ - A listing with free true installs straight from this result, owned or
32805
+ not: pass one of its installOptions, with listingId and title, to
32806
+ install_fab_listing. Do not ask the user to add it to their library first.
32807
+ - Anything else installs only once the user owns it. Look its title up
32808
+ with search_fab_my_library and install from that result. - discounted true
32809
+ with free false can mean the listing is free only for a limited time;
32810
+ get_fab_listing_details says so with limitedTimeFree. Such a listing does
32811
+ not install from this result: the user must add it to their library first,
32812
+ from its fabUrl. - Only the formats install_fab_listing installs, unless
32813
+ you name others in AssetFormats. That is the useful default in an editor,
32814
+ but it means a "nothing found" result only rules out those formats. -
32815
+ engineVersions is what the listing supports. Assets commonly support older
32816
+ engines than the running editor and still work. - THERE IS NO TOTAL COUNT.
32817
+ Never say how many results Fab has. nextCursor present means more results
32818
+ exist; pass it back as Cursor to continue. Absent means this is the end. -
32819
+ rating is absent when nobody has rated the listing yet. Tell the user it
32820
+ has no ratings yet, the same way you report any other rating. It is not a
32821
+ rating of zero. - The filters take the values results report: sellerId for
32822
+ a seller, never the seller's name. A listing type, category or license Fab
32823
+ does not know fails with an error naming the filter; drop that filter or
32824
+ ask the user, rather than guessing another value. An unknown sellerId
32825
+ matches nothing, so no results can mean a wrong sellerId. - mature true
32826
+ marks 18+ content, and its thumbnail is blurred. Fab applies the user's
32827
+ mature content setting to what get_fab_listing_details returns for it.
32828
+ Before calling get_fab_listing_details for one, tell the user it is mature
32829
+ content and ask whether to continue, as the Fab website does. Respect the
32830
+ user's mature content setting, below, at all times while surfacing mature
32831
+ content. - Which mature listings appear follows the user's Fab mature
32832
+ content setting: Hide, Blur or Show. To change it, the user signs in on
32833
+ fab.com, opens User preferences (the sliders button next to Sort on a
32834
+ search page) and sets Mature content. An account with an age rating
32835
+ restriction cannot change it. Available on UE 5.9; absent from UE 5.8.
32836
+ Params: keywords?, sortBy?, bFreeOnly?, assetFormats?, count?, cursor?,
32837
+ listingTypes?, categories?, sellers?, excludedSellers?, licenses?
32838
+ fab.epic_search_fab_my_library:
32839
+ class_path: fab.epic_search_fab_my_library
32840
+ group: fab
32841
+ description: >-
32842
+ [Epic FabToolset.FabToolset] Searches everything the user has a license to
32843
+ on Fab, as JSON: { query, results: [...], nextCursor }. Only the formats
32844
+ install_fab_listing installs, unless you name others in AssetFormats: to
32845
+ answer a question about other formats, such as what Unity assets the user
32846
+ has, name them there. Use this whenever the user refers to assets they
32847
+ have - "my library", "what I own", "that pack I bought" - and before
32848
+ installing anything that is not free. Each result carries listingId,
32849
+ title, seller, sellerId, listingType, licenses, assetFormats,
32850
+ engineVersions, distributionMethod and installable. An installable result
32851
+ also carries installOptions: one entry per format this editor can install,
32852
+ each holding assetFormat and, where that format needs them, engineVersion
32853
+ and distributionMethod. To install, pick one option and pass its fields
32854
+ unchanged, with listingId and title, to install_fab_listing. These results
32855
+ carry no fabUrl. To link one, take fabUrl from get_fab_listing_details;
32856
+ never build a link from listingId. Rules for reporting these results: -
32857
+ owned is always true. These cost the user nothing further - never quote a
32858
+ price or offer to buy one. - When a result has several installOptions,
32859
+ prefer unreal-engine: it arrives as ready-made Unreal content. The others
32860
+ are imported through Interchange or the MetaHuman importer. If the user
32861
+ asked for a specific format, use that one. - installable false comes with
32862
+ notInstallableReason, which says what install_fab_listing lacks - no
32863
+ format it installs, no build for this engine, an engine installation, a
32864
+ complete project, a listing no longer on Fab. It is a fact about that
32865
+ tool, NOT about the asset: relay the reason, and do not tell the user the
32866
+ asset cannot be used. - distributionMethod says what installing the
32867
+ unreal-engine option will do, so read it before offering to install:
32868
+ asset_pack adds assets to the project, and code_plugin installs an editor
32869
+ plugin that needs an editor restart. Say which of the two it is.
32870
+ complete_project is a whole project, which install_fab_listing does not
32871
+ install. - engineVersions is what the asset supports, which is often below
32872
+ the running editor. That is normal: an option's engineVersion is the
32873
+ newest of them this editor can load. - Results are eventually consistent.
32874
+ Something added to the library moments ago may not appear yet, or may
32875
+ appear not installable because Fab does not offer its download yet. If the
32876
+ user just added it, or insists they own it, say it may still be syncing
32877
+ and suggest trying again shortly. Do not call it a download limitation. -
32878
+ THERE IS NO TOTAL COUNT. nextCursor present means more results; pass it
32879
+ back as Cursor. - The filters take the values results report: sellerId for
32880
+ a seller, never the seller's name. Keywords also match seller names, so to
32881
+ filter by a seller, search with their name first and take the sellerId of
32882
+ every matching seller from the results - one brand can sell under several
32883
+ accounts. A listing type or category Fab does not know fails with an error
32884
+ naming the filter; drop that filter or ask the user, rather than guessing
32885
+ another value. An unknown license or sellerId matches nothing, so no
32886
+ results can mean a wrong value. If this reports that nobody is signed in,
32887
+ call fab_sign_in and then try again. Available on UE 5.9; absent from UE
32888
+ 5.8. Params: keywords?, assetFormats?, sortBy?, count?, cursor?,
32889
+ listingTypes?, categories?, sellers?, excludedSellers?, licenses?
32444
32890
  datasmith.status:
32445
32891
  class_path: datasmith.status
32446
32892
  group: datasmith