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

Function WithExpander

pkg/tools/builtin/openapi/openapi.go:81–83  ·  view source on GitHub ↗
(expander *js.Expander)

Source from the content-addressed store, hash-verified

79}
80
81func WithExpander(expander *js.Expander) Option {
82 return func(t *ToolSet) { t.expander = expander }
83}
84
85// New creates a new OpenAPI toolset from the given spec URL.
86func New(specURL string, headers map[string]string, opts ...Option) *ToolSet {

Callers 2

CreateToolSetFunction · 0.70
newOpenAPIToolForTestFunction · 0.70

Calls

no outgoing calls

Tested by 1

newOpenAPIToolForTestFunction · 0.56