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

Function NewToolNode

go/engine/node.go:147–149  ·  view source on GitHub ↗

NewToolNode creates a new ToolNode

(id string)

Source from the content-addressed store, hash-verified

145
146// NewToolNode creates a new ToolNode
147func NewToolNode(id string) ToolNode {
148 return ToolNode{id: id}
149}
150
151func (b *ToolNode) ID() string { return b.id }
152func (b *ToolNode) AddTransition(port string, _ Transition) error {

Callers 1

TestToolNodeFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestToolNodeFunction · 0.68