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

Method AddTransition

go/engine/node.go:152–154  ·  view source on GitHub ↗
(port string, _ Transition)

Source from the content-addressed store, hash-verified

150
151func (b *ToolNode) ID() string { return b.id }
152func (b *ToolNode) AddTransition(port string, _ Transition) error {
153 return fmt.Errorf("node %s: tool nodes cannot accept state transitions (port %q)", b.id, port)
154}
155
156// TriggerNode is the common embed for every trigger. A trigger has exactly one
157// outgoing transition; it carries the full Transition (like LinearNode/BranchingNode)

Callers 1

TestToolNodeFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestToolNodeFunction · 0.76