MCPcopy Index your code
hub / github.com/docker/docker-agent / CurrentAgentTools

Method CurrentAgentTools

pkg/app/app.go:221–223  ·  view source on GitHub ↗

CurrentAgentTools returns the tools available to the current agent.

(ctx context.Context)

Source from the content-addressed store, hash-verified

219
220// CurrentAgentTools returns the tools available to the current agent.
221func (a *App) CurrentAgentTools(ctx context.Context) ([]tools.Tool, error) {
222 return a.runtime.CurrentAgentTools(ctx)
223}
224
225// agentConfigProvider is an optional runtime capability: exposing an agent's
226// static configuration (toolsets, sub-agents, handoffs, fallbacks) by name.

Callers

nothing calls this directly

Calls 1

CurrentAgentToolsMethod · 0.65

Tested by

no test coverage detected