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

Function NewJsExpander

pkg/js/expand.go:30–32  ·  view source on GitHub ↗

NewJsExpander creates a new Expander with the given environment provider.

(env environment.Provider)

Source from the content-addressed store, hash-verified

28
29// NewJsExpander creates a new Expander with the given environment provider.
30func NewJsExpander(env environment.Provider) *Expander {
31 return &Expander{env: env}
32}
33
34// NewEvaluator creates a new Expander with the given tools (for command evaluation).
35func NewEvaluator(agentTools []tools.Tool) *Expander {

Callers 15

CreateToolSetFunction · 0.92
CreateToolSetFunction · 0.92
newFetchToolForTestFunction · 0.92
CreateToolSetFunction · 0.92
CreateToolSetFunction · 0.92
newOpenAPIToolForTestFunction · 0.92
CreateToolSetFunction · 0.92
testExpanderFunction · 0.92
TestOpenURL_ExpandsEnvFunction · 0.92
CreateToolSetFunction · 0.92

Calls

no outgoing calls