DataflowAgent.DataflowAgentToolset¶
Dataflow Agent Toolset - exposes Dataflow graph editing operations as AI agent tools.
22 tool(s).
DataflowAgent.DataflowAgentToolset.AddCommentBox¶
Adds a comment box around the given nodes.
Input schema
{
"properties": {
"color": {
"default": {
"a": 1,
"b": 1,
"g": 1,
"r": 1
},
"description": "Background color of the comment box (defaults to White)",
"properties": {
"a": {
"minimum": 0,
"type": "number"
},
"b": {
"minimum": 0,
"type": "number"
},
"g": {
"minimum": 0,
"type": "number"
},
"r": {
"minimum": 0,
"type": "number"
}
},
"required": [
"r",
"g",
"b",
"a"
],
"title": "LinearColor",
"type": "object"
},
"comment": {
"default": "/**\n\t * Adds a comment box around the given nodes.\n\t *\n\t * @param Graph - The Dataflow asset to add the comment to\n\t * @param Nodes - List of EdNodes to surround with the comment box\n\t * @param Comment - Text to display on the comment box\n\t * @param Color - Background color of the comment box (defaults to White)\n\t * @return Node ID string of the created comment node, or empty string on failure\n\t */",
"description": "Text to display on the comment box",
"type": "string"
},
"graph": {
"description": "The Dataflow asset to add the comment to",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
},
"nodes": {
"description": "List of EdNodes to surround with the comment box",
"items": {
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
},
"type": "array"
}
},
"required": [
"graph",
"nodes"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "Node ID string of the created comment node, or empty string on failure",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.AddNode¶
Adds a node of the given type to the Dataflow graph.
Input schema
{
"properties": {
"graph": {
"description": "The Dataflow asset to add the node to",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
},
"jsonParams": {
"description": "Optional JSON object of property overrides (e.g., {\"Value\": 3.14})",
"type": "string"
},
"nodeName": {
"description": "Unique name for the node within this graph",
"type": "string"
},
"typeName": {
"description": "The node type name (e.g., \"FAddFloatsDataflowNode\")",
"type": "string"
},
"x": {
"default": 0,
"description": "X position in the graph editor (default 0, typical node width ~200)",
"type": "integer"
},
"y": {
"default": 0,
"description": "Y position in the graph editor (default 0, typical node height ~100)",
"type": "integer"
}
},
"required": [
"graph",
"typeName",
"nodeName",
"jsonParams"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "The newly created UDataflowEdNode, or nullptr on failure",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.AddVariable¶
Adds a new variable to the Dataflow graph.
Supported type strings:
Primitives : "Bool", "Int32", "Int64", "Float", "Double", "Name", "String"
Structs : UScriptStruct name with or without the "F" prefix
e.g. "Vector", "FVector", "Transform", "FTransform", "Rotator", "LinearColor"
Objects : "Object:
Input schema
{
"properties": {
"graph": {
"description": "The Dataflow asset to modify",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
},
"name": {
"description": "Unique name for the new variable",
"type": "string"
},
"type": {
"description": "Type string as described above",
"type": "string"
}
},
"required": [
"graph",
"name",
"type"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "true on success, false if the variable already exists or the type cannot be resolved",
"type": "boolean"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.AssignDataflowTemplate¶
Assigns a Dataflow template to an existing Dataflow-compatible asset by duplicating the template graph and embedding it. Replaces any existing embedded graph.
Input schema
{
"properties": {
"asset": {
"description": "The target asset (must implement IDataflowInstanceInterface)",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"templateId": {
"description": "Template identifier returned by ListDataflowTemplatesForAssetClass. Pass an empty string to assign a fresh empty graph.",
"type": "string"
}
},
"required": [
"asset",
"templateId"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "true on success, false on failure",
"type": "boolean"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.ConnectNodePins¶
Connects an output pin of one node to an input pin of another.
Input schema
{
"properties": {
"fromNode": {
"description": "The source EdNode",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
},
"fromPin": {
"description": "Name of the output pin on the source node",
"type": "string"
},
"toNode": {
"description": "The destination EdNode",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
},
"toPin": {
"description": "Name of the input pin on the destination node",
"type": "string"
}
},
"required": [
"fromNode",
"fromPin",
"toNode",
"toPin"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "true on success, false on failure",
"type": "boolean"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.CreateDataflowCompatibleAsset¶
Creates a new Dataflow-compatible asset (e.g. ChaosClothAsset, GeometryCollection, FleshAsset, GroomAsset) with an empty embedded Dataflow graph.
Input schema
{
"properties": {
"className": {
"description": "Asset class name with or without the \"U\"/\"A\" prefix (e.g. \"ChaosClothAsset\" or \"UChaosClothAsset\")",
"type": "string"
},
"name": {
"description": "Name for the new asset",
"type": "string"
},
"path": {
"default": "/Game/Dataflow",
"description": "Content folder path where the asset should be created. Defaults to \"/Game/Dataflow\"",
"type": "string"
}
},
"required": [
"className",
"name"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "The full asset path of the created asset, or empty string on failure",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.CreateDataflowCompatibleAssetFromTemplate¶
Creates a new Dataflow-compatible asset and initialises its embedded Dataflow graph from a registered template in one step.
Input schema
{
"properties": {
"className": {
"description": "Asset class name with or without the \"U\"/\"A\" prefix",
"type": "string"
},
"name": {
"description": "Name for the new asset",
"type": "string"
},
"path": {
"description": "Content folder path",
"type": "string"
},
"templateId": {
"description": "Template identifier returned by ListDataflowTemplatesForAssetClass. Pass an empty string to create with an empty embedded graph (equivalent to CreateDataflowCompatibleAsset).",
"type": "string"
}
},
"required": [
"className",
"name",
"path",
"templateId"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "The full asset path of the created asset, or empty string on failure",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.CreateGraph¶
Creates a new saved Dataflow graph asset.
Input schema
{
"properties": {
"name": {
"description": "Name for the new Dataflow asset (e.g., \"DF_Simulation\")",
"type": "string"
},
"path": {
"description": "Content folder path where the asset should be created. Defaults to \"/Game/Dataflow\"",
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "The full asset path of the created graph, or empty string on failure",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.DisconnectNodePins¶
Removes the connection between two node pins.
Input schema
{
"properties": {
"fromNode": {
"description": "The source EdNode",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
},
"fromPin": {
"description": "Name of the output pin on the source node",
"type": "string"
},
"toNode": {
"description": "The destination EdNode",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
},
"toPin": {
"description": "Name of the input pin on the destination node",
"type": "string"
}
},
"required": [
"fromNode",
"fromPin",
"toNode",
"toPin"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.GetGraphStructure¶
Returns the complete structure of a Dataflow graph including all nodes and connections.
Input schema
{
"properties": {
"graph": {
"description": "The Dataflow asset to inspect",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
}
},
"required": [
"graph"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "JSON string with graph structure (nodes + connections), or error message on failure",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.GetNodeInfo¶
Returns information about a node as a JSON object (name, type, position, pins).
Input schema
{
"properties": {
"node": {
"description": "The EdNode to query",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
}
},
"required": [
"node"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "JSON string with node info, or error message on failure",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.GetNodeTypeSchema¶
Returns the schema for a Dataflow node type including its input/output pins and editable UPROPERTY parameters.
Input schema
{
"properties": {
"typeName": {
"description": "The node type name (e.g., \"FAddFloatsDataflowNode\")",
"type": "string"
}
},
"required": [
"typeName"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "JSON object with name, category, tooltip, inputPins, outputPins, and properties",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.ListDataflowCompatibleAssetTypes¶
Returns a JSON list of every UClass that can host an embedded Dataflow graph (i.e. implements IDataflowInstanceInterface). Each entry has "className", "displayName", and "modulePath" fields.
Use the "className" value as input to CreateDataflowCompatibleAsset or ListDataflowTemplatesForAssetClass.
Input schema
{
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "JSON array of compatible asset type descriptors",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.ListDataflowTemplatesForAssetClass¶
Returns a JSON list of Dataflow templates registered for the given asset class. Templates registered for parent classes are included (class hierarchy walk).
Input schema
{
"properties": {
"bIncludeBlank": {
"default": true,
"description": "When true, include a \"Blank\" option (empty graph) at the start",
"type": "boolean"
},
"className": {
"description": "Asset class name with or without the \"U\"/\"A\" prefix",
"type": "string"
}
},
"required": [
"className"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "JSON array of `{ \"templateId\", \"displayName\", \"tooltip\" }` objects. \"templateId\" is opaque - pass it back to AssignDataflowTemplate or CreateDataflowCompatibleAssetFromTemplate.",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.ListNodeTypes¶
Returns a JSON list of all registered Dataflow node types.
Input schema
{
"properties": {
"bCommonOnly": {
"default": true,
"description": "When true, only return non-deprecated non-experimental nodes. Default is true.",
"type": "boolean"
}
},
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "JSON array of node type names",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.ListVariables¶
Returns all variables defined on the Dataflow graph as a JSON array. Each entry contains "name", "type", and "value" fields.
Input schema
{
"properties": {
"graph": {
"description": "The Dataflow asset to inspect",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
}
},
"required": [
"graph"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "JSON array of variable descriptors, or empty string on failure",
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.RemoveCommentBox¶
Removes a comment box node from the graph.
Input schema
{
"properties": {
"commentId": {
"description": "The node GUID string returned by AddCommentBox",
"type": "string"
},
"graph": {
"description": "The Dataflow asset containing the comment",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
}
},
"required": [
"graph",
"commentId"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.RemoveNode¶
Removes a node and all its connections from the Dataflow graph.
Input schema
{
"properties": {
"graph": {
"description": "The Dataflow asset containing the node",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
},
"node": {
"description": "The EdNode to remove",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
}
},
"required": [
"graph",
"node"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.RemoveVariable¶
Removes a variable from the Dataflow graph.
Input schema
{
"properties": {
"graph": {
"description": "The Dataflow asset to modify",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
},
"name": {
"description": "Name of the variable to remove",
"type": "string"
}
},
"required": [
"graph",
"name"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.RepositionNode¶
Moves a node to a new position in the graph editor.
Input schema
{
"properties": {
"node": {
"description": "The EdNode to reposition",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
},
"x": {
"description": "New X position",
"type": "integer"
},
"y": {
"description": "New Y position",
"type": "integer"
}
},
"required": [
"node",
"x",
"y"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.SetVariable¶
Sets the value of an existing variable using its serialized string representation. The format depends on the variable's type (e.g., "3.14" for float, "true" for bool, "42" for int, "MyName" for FName).
Input schema
{
"properties": {
"graph": {
"description": "The Dataflow asset to modify",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.Dataflow",
"type": "object"
},
"name": {
"description": "Name of the variable to set",
"type": "string"
},
"value": {
"description": "Serialized string value to assign",
"type": "string"
}
},
"required": [
"graph",
"name",
"value"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "true on success, false if the variable is not found or the value cannot be parsed",
"type": "boolean"
}
},
"required": [
"returnValue"
],
"type": "object"
}
DataflowAgent.DataflowAgentToolset.UpdateNode¶
Updates an existing node's editable properties via JSON.
Input schema
{
"properties": {
"jsonParams": {
"description": "JSON object of property overrides (e.g., {\"Value\": 3.14})",
"type": "string"
},
"node": {
"description": "The EdNode to modify",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/DataflowEngine.DataflowEdNode",
"type": "object"
}
},
"required": [
"node",
"jsonParams"
],
"type": "object"
}