Skip to content

Commit e504dee

Browse files
committed
StateTree: add full-info & node search commands
Add two new StateTree MCP commands: get_statetree_full_info (verbosity/sections, optional inline bindings) and search_statetree_nodes (class/category search). Extend binding serialization and state JSON output to include property binding details, parameter serialization, task completion string, required-event metadata, and optional inlined bindings per-node. Update reader ops to report binding counts and use the new binding helper when returning bindings. Add CLI and Python tooling wrappers for the new commands and expand get_statetree_bindings doc/details. Header and helper files updated with new APIs: BindingToJson, CollectBindingsForNode, ResolveStructIDToName, EditorNodeToJsonWithBindings, TaskCompletionTypeToString, and updated StateToJsonDetailed/TransitionToJson signatures.
1 parent 159b060 commit e504dee

7 files changed

Lines changed: 1038 additions & 20 deletions

File tree

Source/UnrealMCPBridge/Private/Commands/EpicUnrealMCPStateTreeCommands.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ TSharedPtr<FJsonObject> FEpicUnrealMCPStateTreeCommands::HandleCommand(
4646
{
4747
return HandleGetStateTreeTransitionTargets(Params);
4848
}
49+
else if (CommandType == TEXT("get_statetree_full_info"))
50+
{
51+
return HandleGetStateTreeFullInfo(Params);
52+
}
53+
else if (CommandType == TEXT("search_statetree_nodes"))
54+
{
55+
return HandleSearchStateTreeNodes(Params);
56+
}
4957

5058
// ---- Create/Add ----
5159
else if (CommandType == TEXT("create_statetree"))

0 commit comments

Comments
 (0)