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

Method CurrentAgentTools

pkg/runtime/runtime.go:53–53  ·  view source on GitHub ↗

CurrentAgentTools returns the tools for the active agent

(ctx context.Context)

Source from the content-addressed store, hash-verified

51 SetCurrentAgent(ctx context.Context, agentName string) error
52 // CurrentAgentTools returns the tools for the active agent
53 CurrentAgentTools(ctx context.Context) ([]tools.Tool, error)
54 // CurrentAgentToolsetStatuses returns lifecycle status for each toolset of
55 // the active agent (name, kind, state, last error, restart count).
56 // Used by the /tools dialog. Best-effort: toolsets that don't expose

Callers 5

handleShowToolsDialogMethod · 0.65
CurrentAgentToolsMethod · 0.65
ResolveCommandFunction · 0.65
executeToolCommandsFunction · 0.65
runRuntimeContractFunction · 0.65

Implementers 7

queueTestRuntimepkg/tui/page/chat/queue_test.go
cycleThinkingRuntimepkg/leantui/update_test.go
mockRuntimepkg/cli/runner_test.go
mockRuntimepkg/app/app_test.go
LocalRuntimepkg/runtime/runtime.go
mockRuntimepkg/runtime/commands_test.go
RemoteRuntimepkg/runtime/remote_runtime.go

Calls

no outgoing calls

Tested by 1

runRuntimeContractFunction · 0.52