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

Interface Describer

pkg/tools/startable.go:17–19  ·  view source on GitHub ↗

Describer can be implemented by a ToolSet to provide a short, user-visible description that uniquely identifies the toolset instance (e.g. for use in error messages and warnings). The string must never contain secrets.

Source from the content-addressed store, hash-verified

15// description that uniquely identifies the toolset instance (e.g. for use in
16// error messages and warnings). The string must never contain secrets.
17type Describer interface {
18 Describe() string
19}
20
21// DescribeToolSet returns a short description for ts suitable for user-visible
22// messages. It walks the wrapper chain (e.g. through WithName /

Callers 6

DescribeToolSetFunction · 0.65
TestPlanTool_DescribeFunction · 0.65

Implementers 10

stubDescriberpkg/tools/startable_test.go
Toolsetpkg/tools/mcp/mcp.go
ToolSetpkg/tools/builtin/memory/memory.go
ToolSetpkg/tools/builtin/plan/plan.go
Toolsetpkg/tools/builtin/mcpcatalog/mcpcatalo
restartableToolsetpkg/runtime/restart_test.go
statefulToolsetpkg/runtime/toolsetstatus_test.go
describerOnlypkg/runtime/toolsetstatus_test.go
toolListToolsetpkg/runtime/agent_inspector_test.go
describedToolSetpkg/agent/agent_test.go

Calls

no outgoing calls

Tested by

no test coverage detected