Get Dynamic Node Outcomes
getDynamicNodeOutcomesDetermine the dynamic outcomes for configurable nodes based on their configuration, enabling correct journey wiring.
Instructions
Calculate the dynamic outcomes for a node based on its configuration. Use this for nodes whose outcomes depend on their config, such as: PageNode (outcomes depend on child nodes - pass { nodes: [...] }), ChoiceCollectorNode (outcomes depend on choices array - pass { choices: [...] }), and similar configurable nodes. This helps determine what connections to wire when building journeys.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"realm": "<realm>",
"nodeType": "<nodeType>",
"config": "<config>"
},
"name": "getDynamicNodeOutcomes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | The realm to query | |
| config | Yes | Node configuration object. For PageNode, use { nodes: [{ nodeType, _properties }...] }. For ChoiceCollectorNode, use { choices: ["option1", "option2", ...] }. Check the node schema via getNodeTypeDetails to understand required config properties. | |
| nodeType | Yes | The node type (e.g., "PageNode", "ChoiceCollectorNode") |