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

Method CurrentMCPPrompts

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

CurrentMCPPrompts returns MCP prompts available from the current agent's toolsets. Returns an empty map if no MCP prompts are available.

(ctx context.Context)

Source from the content-addressed store, hash-verified

107 // CurrentMCPPrompts returns MCP prompts available from the current agent's toolsets.
108 // Returns an empty map if no MCP prompts are available.
109 CurrentMCPPrompts(ctx context.Context) map[string]mcptools.PromptInfo
110
111 // ExecuteMCPPrompt executes a named MCP prompt with the given arguments.
112 ExecuteMCPPrompt(ctx context.Context, promptName string, arguments map[string]string) (string, error)

Callers 3

BuildCommandCategoriesFunction · 0.65
CurrentMCPPromptsMethod · 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