MCPcopy Create free account
hub / github.com/compozy/agh / nativeNetworkChannel

Function nativeNetworkChannel

internal/daemon/native_tools.go:5012–5018  ·  view source on GitHub ↗
(id toolspkg.ToolID, value string)

Source from the content-addressed store, hash-verified

5010}
5011
5012func nativeNetworkChannel(id toolspkg.ToolID, value string) (string, error) {
5013 channel := strings.TrimSpace(value)
5014 if err := network.ValidateChannel(channel); err != nil {
5015 return "", nativeNetworkInputError(id, err)
5016 }
5017 return channel, nil
5018}
5019
5020func autonomyToolErrorCodeAndReason(reason taskpkg.AutonomyReasonCode) (
5021 toolspkg.ErrorCode,

Callers 11

networkChannelCreateMethod · 0.85
networkChannelUpdateMethod · 0.85
networkThreadsMethod · 0.85
networkThreadMessagesMethod · 0.85
networkDirectsMethod · 0.85
networkDirectResolveMethod · 0.85
networkDirectMessagesMethod · 0.85
networkSubscriptionsMethod · 0.85
networkUnmuteMethod · 0.85

Calls 2

ValidateChannelFunction · 0.92
nativeNetworkInputErrorFunction · 0.85

Tested by

no test coverage detected