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

Function nativeScopeMismatchError

internal/daemon/native_tools.go:4931–4939  ·  view source on GitHub ↗
(id toolspkg.ToolID, field string)

Source from the content-addressed store, hash-verified

4929}
4930
4931func nativeScopeMismatchError(id toolspkg.ToolID, field string) error {
4932 return toolspkg.NewToolError(
4933 toolspkg.ErrorCodeDenied,
4934 id,
4935 fmt.Sprintf("tool %q call %s conflicts with caller scope", id, field),
4936 toolspkg.ErrToolDenied,
4937 toolspkg.ReasonScopeMismatch,
4938 )
4939}
4940
4941func (n *daemonNativeTools) nativeNetworkWorkspaceID(
4942 ctx context.Context,

Callers 6

bundlesInfoMethod · 0.85
bundlesDeactivateMethod · 0.85
resourcesInfoMethod · 0.85
nativeApplyResourceScopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected