MCPcopy
hub / github.com/docker/docker-agent / Unwrap

Method Unwrap

pkg/tools/startable.go:270–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

268// This allows As to walk the wrapper chain and find inner capabilities.
269type Unwrapper interface {
270 Unwrap() ToolSet
271}
272
273// As performs a type assertion on a ToolSet, walking the wrapper chain if needed.

Callers 6

DescribeToolSetFunction · 0.65
StartMethod · 0.65
AsFunction · 0.65
unwrapProviderFunction · 0.65
TestPullFailedErrorFunction · 0.65

Implementers 15

StartableToolSetpkg/tools/startable.go
namedToolSetpkg/tools/named.go
ToolHostErrorpkg/sandbox/kit/kit.go
tracedChatpkg/model/provider/instrument.go
PullFailedErrorpkg/model/provider/dmr/pull.go
RuntimeErrorpkg/cli/runner.go
StatusErrorpkg/modelerrors/modelerrors.go
ContextOverflowErrorpkg/modelerrors/modelerrors.go
AutoModelFallbackErrorpkg/config/auto.go
filterToolspkg/teamloader/filter.go
modelOverrideToolsetpkg/teamloader/model_override.go
readOnlyToolspkg/teamloader/readonly.go

Calls

no outgoing calls

Tested by 2

TestPullFailedErrorFunction · 0.52