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

Method Execute

go/engine/node/serialwrite.go:40–49  ·  view source on GitHub ↗
(_ context.Context, scope *engine.Scope)

Source from the content-addressed store, hash-verified

38// NewSerialWrite builds a SerialWrite bound to the given text channel.
39func NewSerialWrite(id string, value *workflowapi.Expression, toolDescription string, dst channel.TextWriter) *SerialWrite {
40 return &SerialWrite{
41 LinearNode: engine.NewLinearNode(id),
42 value: value,
43 toolDescription: toolDescription,
44 dst: dst,
45 }
46}
47
48// serialWriteArgs is the tool-call payload. A text channel always takes a
49// string, so the schema is derivable from this type.
50type serialWriteArgs struct {
51 Value string `json:"value"`
52}

Callers

nothing calls this directly

Calls 3

NextMethod · 0.80
IDMethod · 0.65
WriteMethod · 0.65

Tested by

no test coverage detected