MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / getStaticBinding

Function getStaticBinding

ts/workflow-core/src/node/methods.ts:12–14  ·  view source on GitHub ↗

Read a static output's binding from a node's arguments bag, keyed by the output id.

(args: Record<string, unknown>, outputId: string)

Source from the content-addressed store, hash-verified

10
11/** Read a static output's binding from a node's arguments bag, keyed by the output id. */
12function getStaticBinding(args: Record<string, unknown>, outputId: string): OutputBinding | undefined {
13 return args[outputId] as OutputBinding | undefined;
14}
15
16/**
17 * Read-only helper: look up the current binding for a given output key on any node.

Callers 2

getOutputBindingFunction · 0.85
getNodeOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected