unreal-engine-mcp-server 0.4.0 → 0.4.4
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.
- package/.env.production +1 -1
- package/.github/copilot-instructions.md +45 -0
- package/.github/workflows/publish-mcp.yml +3 -2
- package/README.md +21 -5
- package/dist/index.js +124 -31
- package/dist/prompts/index.d.ts +10 -3
- package/dist/prompts/index.js +186 -7
- package/dist/resources/actors.d.ts +19 -1
- package/dist/resources/actors.js +55 -64
- package/dist/resources/assets.js +46 -62
- package/dist/resources/levels.d.ts +21 -3
- package/dist/resources/levels.js +29 -54
- package/dist/tools/actors.d.ts +3 -14
- package/dist/tools/actors.js +246 -302
- package/dist/tools/animation.d.ts +57 -102
- package/dist/tools/animation.js +429 -450
- package/dist/tools/assets.d.ts +13 -2
- package/dist/tools/assets.js +52 -44
- package/dist/tools/audio.d.ts +22 -13
- package/dist/tools/audio.js +467 -121
- package/dist/tools/blueprint.d.ts +32 -13
- package/dist/tools/blueprint.js +699 -448
- package/dist/tools/build_environment_advanced.d.ts +0 -1
- package/dist/tools/build_environment_advanced.js +190 -45
- package/dist/tools/consolidated-tool-definitions.js +78 -252
- package/dist/tools/consolidated-tool-handlers.js +506 -133
- package/dist/tools/debug.d.ts +72 -10
- package/dist/tools/debug.js +167 -31
- package/dist/tools/editor.d.ts +9 -2
- package/dist/tools/editor.js +30 -44
- package/dist/tools/foliage.d.ts +34 -15
- package/dist/tools/foliage.js +97 -107
- package/dist/tools/introspection.js +19 -21
- package/dist/tools/landscape.d.ts +1 -2
- package/dist/tools/landscape.js +311 -168
- package/dist/tools/level.d.ts +3 -28
- package/dist/tools/level.js +642 -192
- package/dist/tools/lighting.d.ts +14 -3
- package/dist/tools/lighting.js +236 -123
- package/dist/tools/materials.d.ts +25 -7
- package/dist/tools/materials.js +102 -79
- package/dist/tools/niagara.d.ts +10 -12
- package/dist/tools/niagara.js +74 -94
- package/dist/tools/performance.d.ts +12 -4
- package/dist/tools/performance.js +38 -79
- package/dist/tools/physics.d.ts +34 -10
- package/dist/tools/physics.js +364 -292
- package/dist/tools/rc.js +97 -23
- package/dist/tools/sequence.d.ts +1 -0
- package/dist/tools/sequence.js +125 -22
- package/dist/tools/ui.d.ts +31 -4
- package/dist/tools/ui.js +83 -66
- package/dist/tools/visual.d.ts +11 -0
- package/dist/tools/visual.js +245 -30
- package/dist/types/tool-types.d.ts +0 -6
- package/dist/types/tool-types.js +1 -8
- package/dist/unreal-bridge.d.ts +32 -2
- package/dist/unreal-bridge.js +621 -127
- package/dist/utils/elicitation.d.ts +57 -0
- package/dist/utils/elicitation.js +104 -0
- package/dist/utils/error-handler.d.ts +0 -33
- package/dist/utils/error-handler.js +4 -111
- package/dist/utils/http.d.ts +2 -22
- package/dist/utils/http.js +12 -75
- package/dist/utils/normalize.d.ts +4 -4
- package/dist/utils/normalize.js +15 -7
- package/dist/utils/python-output.d.ts +18 -0
- package/dist/utils/python-output.js +290 -0
- package/dist/utils/python.d.ts +2 -0
- package/dist/utils/python.js +4 -0
- package/dist/utils/response-validator.js +28 -2
- package/dist/utils/result-helpers.d.ts +27 -0
- package/dist/utils/result-helpers.js +147 -0
- package/dist/utils/safe-json.d.ts +0 -2
- package/dist/utils/safe-json.js +0 -43
- package/dist/utils/validation.d.ts +16 -0
- package/dist/utils/validation.js +70 -7
- package/mcp-config-example.json +2 -2
- package/package.json +10 -9
- package/server.json +37 -14
- package/src/index.ts +130 -33
- package/src/prompts/index.ts +211 -13
- package/src/resources/actors.ts +59 -44
- package/src/resources/assets.ts +48 -51
- package/src/resources/levels.ts +35 -45
- package/src/tools/actors.ts +269 -313
- package/src/tools/animation.ts +556 -539
- package/src/tools/assets.ts +53 -43
- package/src/tools/audio.ts +507 -113
- package/src/tools/blueprint.ts +778 -462
- package/src/tools/build_environment_advanced.ts +266 -64
- package/src/tools/consolidated-tool-definitions.ts +90 -264
- package/src/tools/consolidated-tool-handlers.ts +630 -121
- package/src/tools/debug.ts +176 -33
- package/src/tools/editor.ts +35 -37
- package/src/tools/foliage.ts +110 -104
- package/src/tools/introspection.ts +24 -22
- package/src/tools/landscape.ts +334 -181
- package/src/tools/level.ts +683 -182
- package/src/tools/lighting.ts +244 -123
- package/src/tools/materials.ts +114 -83
- package/src/tools/niagara.ts +87 -81
- package/src/tools/performance.ts +49 -88
- package/src/tools/physics.ts +393 -299
- package/src/tools/rc.ts +102 -24
- package/src/tools/sequence.ts +136 -28
- package/src/tools/ui.ts +101 -70
- package/src/tools/visual.ts +250 -29
- package/src/types/tool-types.ts +0 -9
- package/src/unreal-bridge.ts +658 -140
- package/src/utils/elicitation.ts +129 -0
- package/src/utils/error-handler.ts +4 -159
- package/src/utils/http.ts +16 -115
- package/src/utils/normalize.ts +20 -10
- package/src/utils/python-output.ts +351 -0
- package/src/utils/python.ts +3 -0
- package/src/utils/response-validator.ts +25 -2
- package/src/utils/result-helpers.ts +193 -0
- package/src/utils/safe-json.ts +0 -50
- package/src/utils/validation.ts +94 -7
- package/tests/run-unreal-tool-tests.mjs +720 -0
- package/tsconfig.json +2 -2
- package/dist/python-utils.d.ts +0 -29
- package/dist/python-utils.js +0 -54
- package/dist/types/index.d.ts +0 -323
- package/dist/types/index.js +0 -28
- package/dist/utils/cache-manager.d.ts +0 -64
- package/dist/utils/cache-manager.js +0 -176
- package/dist/utils/errors.d.ts +0 -133
- package/dist/utils/errors.js +0 -256
- package/src/python/editor_compat.py +0 -181
- package/src/python-utils.ts +0 -57
- package/src/types/index.ts +0 -414
- package/src/utils/cache-manager.ts +0 -213
- package/src/utils/errors.ts +0 -312
|
@@ -3,26 +3,14 @@ export const consolidatedToolDefinitions = [
|
|
|
3
3
|
// 1. ASSET MANAGER - Combines asset operations
|
|
4
4
|
{
|
|
5
5
|
name: 'manage_asset',
|
|
6
|
-
description: `
|
|
6
|
+
description: `Asset library utility for browsing, importing, and bootstrapping simple materials.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
8
|
+
Use it when you need to:
|
|
9
|
+
- explore project content (\u002fContent automatically maps to \u002fGame).
|
|
10
|
+
- import FBX/PNG/WAV/EXR files into the project.
|
|
11
|
+
- spin up a minimal Material asset at a specific path.
|
|
12
12
|
|
|
13
|
-
Supported actions:
|
|
14
|
-
- list: Returns assets in a folder (recursive behavior is auto-enabled for /Game).
|
|
15
|
-
- import: Imports a file into the project at a destination path (e.g., /Game/Folder).
|
|
16
|
-
- create_material: Creates a simple Material asset at a path.
|
|
17
|
-
|
|
18
|
-
Tips:
|
|
19
|
-
- Unreal uses /Game for project content; this server maps /Content → /Game automatically.
|
|
20
|
-
- For large projects, listing /Game returns a sample subset for speed; refine to subfolders.
|
|
21
|
-
|
|
22
|
-
Examples:
|
|
23
|
-
- {"action":"list","directory":"/Game/ThirdPerson"}
|
|
24
|
-
- {"action":"import","sourcePath":"C:/Temp/Tree.fbx","destinationPath":"/Game/Environment/Trees"}
|
|
25
|
-
- {"action":"create_material","name":"M_Mask","path":"/Game/Materials"}`,
|
|
13
|
+
Supported actions: list, import, create_material.`,
|
|
26
14
|
inputSchema: {
|
|
27
15
|
type: 'object',
|
|
28
16
|
properties: {
|
|
@@ -69,35 +57,14 @@ Examples:
|
|
|
69
57
|
// 2. ACTOR CONTROL - Combines actor operations
|
|
70
58
|
{
|
|
71
59
|
name: 'control_actor',
|
|
72
|
-
description: `
|
|
73
|
-
|
|
74
|
-
When to use this tool:
|
|
75
|
-
- Place an actor/mesh, remove an actor, or nudge an actor with a physics force.
|
|
76
|
-
|
|
77
|
-
Supported actions:
|
|
78
|
-
- spawn
|
|
79
|
-
- delete
|
|
80
|
-
- apply_force
|
|
60
|
+
description: `Viewport actor toolkit for spawning, removing, or nudging actors with physics forces.
|
|
81
61
|
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
62
|
+
Use it when you need to:
|
|
63
|
+
- drop a class or mesh into the level (classPath accepts names or asset paths).
|
|
64
|
+
- delete actors by label, case-insensitively.
|
|
65
|
+
- push a physics-enabled actor with a world-space force vector.
|
|
85
66
|
|
|
86
|
-
|
|
87
|
-
- Finds actors by label/name (case-insensitive) and deletes matches.
|
|
88
|
-
|
|
89
|
-
Apply force:
|
|
90
|
-
- Applies a world-space force vector to an actor with physics enabled.
|
|
91
|
-
|
|
92
|
-
Tips:
|
|
93
|
-
- classPath accepts classes or asset paths; simple names like Cube auto-resolve to engine assets.
|
|
94
|
-
- location/rotation are optional; defaults are used if omitted.
|
|
95
|
-
- For delete/apply_force, provide actorName.
|
|
96
|
-
|
|
97
|
-
Examples:
|
|
98
|
-
- {"action":"spawn","classPath":"/Engine/BasicShapes/Cube","location":{"x":0,"y":0,"z":100}}
|
|
99
|
-
- {"action":"delete","actorName":"Cube_1"}
|
|
100
|
-
- {"action":"apply_force","actorName":"PhysicsBox","force":{"x":0,"y":0,"z":5000}}`,
|
|
67
|
+
Supported actions: spawn, delete, apply_force.`,
|
|
101
68
|
inputSchema: {
|
|
102
69
|
type: 'object',
|
|
103
70
|
properties: {
|
|
@@ -156,26 +123,14 @@ Examples:
|
|
|
156
123
|
// 3. EDITOR CONTROL - Combines editor operations
|
|
157
124
|
{
|
|
158
125
|
name: 'control_editor',
|
|
159
|
-
description: `
|
|
160
|
-
|
|
161
|
-
When to use this tool:
|
|
162
|
-
- Start/stop a PIE session, move the viewport camera, or change viewmode (Lit/Unlit/Wireframe/etc.).
|
|
126
|
+
description: `Editor session controls for PIE playback, camera placement, and view modes.
|
|
163
127
|
|
|
164
|
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
- set_view_mode
|
|
128
|
+
Use it when you need to:
|
|
129
|
+
- start or stop Play In Editor.
|
|
130
|
+
- reposition the active viewport camera.
|
|
131
|
+
- switch between Lit/Unlit/Wireframe and other safe view modes.
|
|
169
132
|
|
|
170
|
-
|
|
171
|
-
- View modes are validated; unsafe modes are blocked.
|
|
172
|
-
- Camera accepts location/rotation (optional); values normalized.
|
|
173
|
-
|
|
174
|
-
Examples:
|
|
175
|
-
- {"action":"play"}
|
|
176
|
-
- {"action":"set_camera","location":{"x":0,"y":-600,"z":250},"rotation":{"pitch":0,"yaw":0,"roll":0}}
|
|
177
|
-
- {"action":"set_view_mode","viewMode":"Wireframe"}
|
|
178
|
-
- {"action":"stop"}`,
|
|
133
|
+
Supported actions: play, stop, set_camera, set_view_mode (with validation).`,
|
|
179
134
|
inputSchema: {
|
|
180
135
|
type: 'object',
|
|
181
136
|
properties: {
|
|
@@ -232,28 +187,15 @@ Examples:
|
|
|
232
187
|
// 4. LEVEL MANAGER - Combines level and lighting operations
|
|
233
188
|
{
|
|
234
189
|
name: 'manage_level',
|
|
235
|
-
description: `
|
|
236
|
-
|
|
237
|
-
When to use this tool:
|
|
238
|
-
- Switch to a level, save the current level, stream sublevels, add a light, or start a lighting build.
|
|
190
|
+
description: `Level management helper for loading/saving, streaming, light creation, and lighting builds.
|
|
239
191
|
|
|
240
|
-
|
|
241
|
-
-
|
|
242
|
-
-
|
|
243
|
-
-
|
|
244
|
-
-
|
|
245
|
-
- build_lighting
|
|
192
|
+
Use it when you need to:
|
|
193
|
+
- open or save a level by path.
|
|
194
|
+
- toggle streaming sublevels on/off.
|
|
195
|
+
- spawn a light actor of a given type.
|
|
196
|
+
- kick off a lighting build at a chosen quality.
|
|
246
197
|
|
|
247
|
-
|
|
248
|
-
- Use /Game paths for levels (e.g., /Game/Maps/Level).
|
|
249
|
-
- For streaming, set shouldBeLoaded and shouldBeVisible accordingly.
|
|
250
|
-
- For lights, provide lightType and optional location/intensity.
|
|
251
|
-
|
|
252
|
-
Examples:
|
|
253
|
-
- {"action":"load","levelPath":"/Game/Maps/Lobby"}
|
|
254
|
-
- {"action":"stream","levelName":"Sublevel_A","shouldBeLoaded":true,"shouldBeVisible":true}
|
|
255
|
-
- {"action":"create_light","lightType":"Directional","name":"KeyLight","intensity":5.0}
|
|
256
|
-
- {"action":"build_lighting","quality":"High"}`,
|
|
198
|
+
Supported actions: load, save, stream, create_light, build_lighting.`,
|
|
257
199
|
inputSchema: {
|
|
258
200
|
type: 'object',
|
|
259
201
|
properties: {
|
|
@@ -308,25 +250,14 @@ Examples:
|
|
|
308
250
|
// 5. ANIMATION SYSTEM - Combines animation and physics setup
|
|
309
251
|
{
|
|
310
252
|
name: 'animation_physics',
|
|
311
|
-
description: `
|
|
312
|
-
|
|
313
|
-
When to use this tool:
|
|
314
|
-
- Generate an Anim Blueprint for a skeleton, play a Montage/Animation on an actor, or enable ragdoll.
|
|
253
|
+
description: `Animation and physics rigging helper covering Anim BPs, montage playback, and ragdoll setup.
|
|
315
254
|
|
|
316
|
-
|
|
317
|
-
-
|
|
318
|
-
-
|
|
319
|
-
-
|
|
255
|
+
Use it when you need to:
|
|
256
|
+
- generate an Animation Blueprint for a skeleton.
|
|
257
|
+
- play a montage/animation on an actor at a chosen rate.
|
|
258
|
+
- enable a quick ragdoll using an existing physics asset.
|
|
320
259
|
|
|
321
|
-
|
|
322
|
-
- Ensure the montage/animation is compatible with the target actor/skeleton.
|
|
323
|
-
- setup_ragdoll requires a valid physicsAssetName on the skeleton.
|
|
324
|
-
- Use savePath when creating new assets.
|
|
325
|
-
|
|
326
|
-
Examples:
|
|
327
|
-
- {"action":"create_animation_bp","name":"ABP_Hero","skeletonPath":"/Game/Characters/Hero/SK_Hero_Skeleton","savePath":"/Game/Characters/Hero"}
|
|
328
|
-
- {"action":"play_montage","actorName":"Hero","montagePath":"/Game/Anim/MT_Attack"}
|
|
329
|
-
- {"action":"setup_ragdoll","skeletonPath":"/Game/Characters/Hero/SK_Hero_Skeleton","physicsAssetName":"PHYS_Hero"}`,
|
|
260
|
+
Supported actions: create_animation_bp, play_montage, setup_ragdoll.`,
|
|
330
261
|
inputSchema: {
|
|
331
262
|
type: 'object',
|
|
332
263
|
properties: {
|
|
@@ -365,24 +296,14 @@ Examples:
|
|
|
365
296
|
// 6. EFFECTS SYSTEM - Combines particles and visual effects
|
|
366
297
|
{
|
|
367
298
|
name: 'create_effect',
|
|
368
|
-
description: `
|
|
369
|
-
|
|
370
|
-
When to use this tool:
|
|
371
|
-
- Spawn a Niagara system at a location, create a particle effect by type tag, or draw debug geometry for planning.
|
|
299
|
+
description: `FX sandbox for spawning Niagara systems, particle presets, or disposable debug shapes.
|
|
372
300
|
|
|
373
|
-
|
|
374
|
-
-
|
|
375
|
-
-
|
|
376
|
-
-
|
|
301
|
+
Use it when you need to:
|
|
302
|
+
- fire a Niagara system at a specific location/scale.
|
|
303
|
+
- trigger a simple particle effect by tag/name.
|
|
304
|
+
- draw temporary debug primitives (box/sphere/line) for planning layouts.
|
|
377
305
|
|
|
378
|
-
|
|
379
|
-
- Set color as RGBA [r,g,b,a]; scale defaults to 1 if omitted.
|
|
380
|
-
- Use debug shapes for quick layout planning and measurements.
|
|
381
|
-
|
|
382
|
-
Examples:
|
|
383
|
-
- {"action":"niagara","systemPath":"/Game/FX/NS_Explosion","location":{"x":0,"y":0,"z":200},"scale":1.0}
|
|
384
|
-
- {"action":"particle","effectType":"Smoke","name":"SMK1","location":{"x":100,"y":0,"z":50}}
|
|
385
|
-
- {"action":"debug_shape","shape":"Sphere","location":{"x":0,"y":0,"z":0},"size":100,"duration":5}`,
|
|
306
|
+
Supported actions: niagara, particle, debug_shape.`,
|
|
386
307
|
inputSchema: {
|
|
387
308
|
type: 'object',
|
|
388
309
|
properties: {
|
|
@@ -442,22 +363,13 @@ Examples:
|
|
|
442
363
|
// 7. BLUEPRINT MANAGER - Blueprint operations
|
|
443
364
|
{
|
|
444
365
|
name: 'manage_blueprint',
|
|
445
|
-
description: `
|
|
446
|
-
|
|
447
|
-
When to use this tool:
|
|
448
|
-
- Quickly scaffold a Blueprint asset or add a component to an existing Blueprint.
|
|
366
|
+
description: `Blueprint scaffolding helper for creating assets and attaching components.
|
|
449
367
|
|
|
450
|
-
|
|
451
|
-
- create
|
|
452
|
-
-
|
|
368
|
+
Use it when you need to:
|
|
369
|
+
- create a new Blueprint of a specific base type (Actor, Pawn, Character, ...).
|
|
370
|
+
- add a component to an existing Blueprint asset with a unique name.
|
|
453
371
|
|
|
454
|
-
|
|
455
|
-
- blueprintType can be Actor, Pawn, Character, etc.
|
|
456
|
-
- Component names should be unique within the Blueprint.
|
|
457
|
-
|
|
458
|
-
Examples:
|
|
459
|
-
- {"action":"create","name":"BP_Switch","blueprintType":"Actor","savePath":"/Game/Blueprints"}
|
|
460
|
-
- {"action":"add_component","name":"BP_Switch","componentType":"PointLightComponent","componentName":"KeyLight"}`,
|
|
372
|
+
Supported actions: create, add_component.`,
|
|
461
373
|
inputSchema: {
|
|
462
374
|
type: 'object',
|
|
463
375
|
properties: {
|
|
@@ -491,28 +403,15 @@ Examples:
|
|
|
491
403
|
// 8. ENVIRONMENT BUILDER - Landscape and foliage
|
|
492
404
|
{
|
|
493
405
|
name: 'build_environment',
|
|
494
|
-
description: `Environment authoring
|
|
495
|
-
|
|
496
|
-
When to use this tool:
|
|
497
|
-
- Create a procedural terrain alternative, add/paint foliage, or attempt a landscape workflow.
|
|
498
|
-
|
|
499
|
-
Supported actions:
|
|
500
|
-
- create_landscape
|
|
501
|
-
- sculpt
|
|
502
|
-
- add_foliage
|
|
503
|
-
- paint_foliage
|
|
504
|
-
|
|
505
|
-
Important:
|
|
506
|
-
- Native Landscape creation via Python is limited and may return a helpful error suggesting Landscape Mode in the editor.
|
|
507
|
-
- Foliage helpers create FoliageType assets and support simple placement.
|
|
406
|
+
description: `Environment authoring toolkit for landscapes and foliage, from sculpting to procedural scatters.
|
|
508
407
|
|
|
509
|
-
|
|
510
|
-
-
|
|
408
|
+
Use it when you need to:
|
|
409
|
+
- create or sculpt a landscape actor.
|
|
410
|
+
- add foliage via types or paint strokes.
|
|
411
|
+
- drive procedural terrain/foliage generation with bounds, seeds, and density settings.
|
|
412
|
+
- spawn explicit foliage instances at transforms.
|
|
511
413
|
|
|
512
|
-
|
|
513
|
-
- {"action":"create_landscape","name":"Landscape_Basic","sizeX":1024,"sizeY":1024}
|
|
514
|
-
- {"action":"add_foliage","name":"FT_Grass","meshPath":"/Game/Foliage/SM_Grass","density":300}
|
|
515
|
-
- {"action":"paint_foliage","foliageType":"/Game/Foliage/Types/FT_Grass","position":{"x":0,"y":0,"z":0},"brushSize":300}`,
|
|
414
|
+
Supported actions: create_landscape, sculpt, add_foliage, paint_foliage, create_procedural_terrain, create_procedural_foliage, add_foliage_instances, create_landscape_grass_type.`,
|
|
516
415
|
inputSchema: {
|
|
517
416
|
type: 'object',
|
|
518
417
|
properties: {
|
|
@@ -605,31 +504,16 @@ Examples:
|
|
|
605
504
|
// 9. PERFORMANCE & AUDIO - System settings
|
|
606
505
|
{
|
|
607
506
|
name: 'system_control',
|
|
608
|
-
description: `
|
|
507
|
+
description: `Runtime/system controls for profiling, quality tiers, audio/UI triggers, screenshots, and editor lifecycle.
|
|
609
508
|
|
|
610
|
-
|
|
611
|
-
-
|
|
509
|
+
Use it when you need to:
|
|
510
|
+
- toggle stat overlays or targeted profilers.
|
|
511
|
+
- adjust scalability categories (sg.*) or enable FPS display.
|
|
512
|
+
- play a one-shot sound and optionally position it.
|
|
513
|
+
- create/show lightweight widgets.
|
|
514
|
+
- capture a screenshot or start/quit the editor process.
|
|
612
515
|
|
|
613
|
-
Supported actions:
|
|
614
|
-
- profile
|
|
615
|
-
- show_fps
|
|
616
|
-
- set_quality
|
|
617
|
-
- play_sound
|
|
618
|
-
- create_widget
|
|
619
|
-
- show_widget
|
|
620
|
-
- screenshot
|
|
621
|
-
- engine_start
|
|
622
|
-
- engine_quit
|
|
623
|
-
|
|
624
|
-
Tips:
|
|
625
|
-
- Screenshot resolution format: 1920x1080.
|
|
626
|
-
- engine_start can read UE project path from env; provide editorExe/projectPath if needed.
|
|
627
|
-
|
|
628
|
-
Examples:
|
|
629
|
-
- {"action":"show_fps","enabled":true}
|
|
630
|
-
- {"action":"set_quality","category":"Shadows","level":2}
|
|
631
|
-
- {"action":"play_sound","soundPath":"/Game/Audio/SFX/Click","volume":0.5}
|
|
632
|
-
- {"action":"screenshot","resolution":"1920x1080"}`,
|
|
516
|
+
Supported actions: profile, show_fps, set_quality, play_sound, create_widget, show_widget, screenshot, engine_start, engine_quit.`,
|
|
633
517
|
inputSchema: {
|
|
634
518
|
type: 'object',
|
|
635
519
|
properties: {
|
|
@@ -698,22 +582,9 @@ Examples:
|
|
|
698
582
|
// 10. CONSOLE COMMAND - Universal tool
|
|
699
583
|
{
|
|
700
584
|
name: 'console_command',
|
|
701
|
-
description: `
|
|
702
|
-
|
|
703
|
-
When to use this tool:
|
|
704
|
-
- Fire a specific command (e.g., stat fps, viewmode wireframe, r.ScreenPercentage 75).
|
|
705
|
-
|
|
706
|
-
Safety:
|
|
707
|
-
- Dangerous commands are blocked (quit/exit, GPU crash triggers, unsafe visualizebuffer modes, etc.).
|
|
708
|
-
- Unknown commands will return a warning instead of crashing.
|
|
585
|
+
description: `Guarded console command executor for one-off \`stat\`, \`r.*\`, or viewmode commands.
|
|
709
586
|
|
|
710
|
-
|
|
711
|
-
- Prefer dedicated tools (system_control, control_editor) when available for structured control.
|
|
712
|
-
|
|
713
|
-
Examples:
|
|
714
|
-
- {"command":"stat fps"}
|
|
715
|
-
- {"command":"viewmode wireframe"}
|
|
716
|
-
- {"command":"r.ScreenPercentage 75"}`,
|
|
587
|
+
Use it when higher-level tools don't cover the console tweak you need. Hazardous commands (quit/exit, crash triggers, unsafe viewmodes) are blocked, and unknown commands respond with a warning instead of executing blindly.`,
|
|
717
588
|
inputSchema: {
|
|
718
589
|
type: 'object',
|
|
719
590
|
properties: {
|
|
@@ -736,29 +607,15 @@ Examples:
|
|
|
736
607
|
// 11. REMOTE CONTROL PRESETS
|
|
737
608
|
{
|
|
738
609
|
name: 'manage_rc',
|
|
739
|
-
description: `
|
|
740
|
-
|
|
741
|
-
When to use this tool:
|
|
742
|
-
- Automate Remote Control (RC) preset authoring and interaction from the assistant.
|
|
610
|
+
description: `Remote Control preset helper for building, exposing, and mutating RC assets.
|
|
743
611
|
|
|
744
|
-
|
|
745
|
-
-
|
|
746
|
-
-
|
|
747
|
-
-
|
|
748
|
-
-
|
|
749
|
-
- set_property
|
|
750
|
-
- get_property
|
|
612
|
+
Use it when you need to:
|
|
613
|
+
- create a preset asset on disk.
|
|
614
|
+
- expose actors or object properties to the preset.
|
|
615
|
+
- list the exposed fields for inspection.
|
|
616
|
+
- get or set property values through RC with JSON-serializable payloads.
|
|
751
617
|
|
|
752
|
-
|
|
753
|
-
- value must be JSON-serializable.
|
|
754
|
-
- Use objectPath/presetPath with full asset/object paths.
|
|
755
|
-
|
|
756
|
-
Examples:
|
|
757
|
-
- {"action":"create_preset","name":"LivePreset","path":"/Game/RCPresets"}
|
|
758
|
-
- {"action":"expose_actor","presetPath":"/Game/RCPresets/LivePreset","actorName":"CameraActor"}
|
|
759
|
-
- {"action":"expose_property","presetPath":"/Game/RCPresets/LivePreset","objectPath":"/Script/Engine.Default__Engine","propertyName":"GameUserSettings"}
|
|
760
|
-
- {"action":"list_fields","presetPath":"/Game/RCPresets/LivePreset"}
|
|
761
|
-
- {"action":"set_property","objectPath":"/Game/MyActor","propertyName":"CustomFloat","value":0.5}`,
|
|
618
|
+
Supported actions: create_preset, expose_actor, expose_property, list_fields, set_property, get_property.`,
|
|
762
619
|
inputSchema: {
|
|
763
620
|
type: 'object',
|
|
764
621
|
properties: {
|
|
@@ -792,37 +649,15 @@ Examples:
|
|
|
792
649
|
// 12. SEQUENCER / CINEMATICS
|
|
793
650
|
{
|
|
794
651
|
name: 'manage_sequence',
|
|
795
|
-
description: `
|
|
796
|
-
|
|
797
|
-
When to use this tool:
|
|
798
|
-
- Build quick cinematics: create/open a sequence, add a camera or actors, tweak properties, and play.
|
|
652
|
+
description: `Sequencer automation helper for Level Sequences: asset management, bindings, and playback control.
|
|
799
653
|
|
|
800
|
-
|
|
801
|
-
- create
|
|
802
|
-
-
|
|
803
|
-
-
|
|
804
|
-
-
|
|
805
|
-
- add_actors
|
|
806
|
-
- remove_actors
|
|
807
|
-
- get_bindings
|
|
808
|
-
- add_spawnable_from_class
|
|
809
|
-
- play
|
|
810
|
-
- pause
|
|
811
|
-
- stop
|
|
812
|
-
- set_properties
|
|
813
|
-
- get_properties
|
|
814
|
-
- set_playback_speed
|
|
654
|
+
Use it when you need to:
|
|
655
|
+
- create or open a sequence asset.
|
|
656
|
+
- add actors, spawnable cameras, or other bindings.
|
|
657
|
+
- adjust sequence metadata (frame rate, bounds, playback window).
|
|
658
|
+
- drive playback (play/pause/stop), adjust speed, or fetch binding info.
|
|
815
659
|
|
|
816
|
-
|
|
817
|
-
- Set spawnable=true to auto-create a camera actor.
|
|
818
|
-
- Use frameRate/lengthInFrames to define timing; use playbackStart/End to trim.
|
|
819
|
-
|
|
820
|
-
Examples:
|
|
821
|
-
- {"action":"create","name":"Intro","path":"/Game/Cinematics"}
|
|
822
|
-
- {"action":"add_camera","spawnable":true}
|
|
823
|
-
- {"action":"add_actor","actorName":"Hero"}
|
|
824
|
-
- {"action":"play","loopMode":"once"}
|
|
825
|
-
- {"action":"set_properties","path":"/Game/Cinematics/Intro","frameRate":24,"lengthInFrames":480}`,
|
|
660
|
+
Supported actions: create, open, add_camera, add_actor, add_actors, remove_actors, get_bindings, add_spawnable_from_class, play, pause, stop, set_properties, get_properties, set_playback_speed.`,
|
|
826
661
|
inputSchema: {
|
|
827
662
|
type: 'object',
|
|
828
663
|
properties: {
|
|
@@ -874,22 +709,13 @@ Examples:
|
|
|
874
709
|
// 13. INTROSPECTION
|
|
875
710
|
{
|
|
876
711
|
name: 'inspect',
|
|
877
|
-
description: `
|
|
878
|
-
|
|
879
|
-
When to use this tool:
|
|
880
|
-
- Inspect an object by path (class default object or actor/component) and optionally modify properties.
|
|
881
|
-
|
|
882
|
-
Supported actions:
|
|
883
|
-
- inspect_object
|
|
884
|
-
- set_property
|
|
712
|
+
description: `Introspection utility for reading or mutating properties on actors, components, or CDOs.
|
|
885
713
|
|
|
886
|
-
|
|
887
|
-
-
|
|
888
|
-
-
|
|
714
|
+
Use it when you need to:
|
|
715
|
+
- inspect an object by path and retrieve its serialized properties.
|
|
716
|
+
- set a property value with built-in validation.
|
|
889
717
|
|
|
890
|
-
|
|
891
|
-
- {"action":"inspect_object","objectPath":"/Script/Engine.Default__Engine"}
|
|
892
|
-
- {"action":"set_property","objectPath":"/Game/MyActor","propertyName":"CustomBool","value":true}`,
|
|
718
|
+
Supported actions: inspect_object, set_property.`,
|
|
893
719
|
inputSchema: {
|
|
894
720
|
type: 'object',
|
|
895
721
|
properties: {
|