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

Method NotifyUserInput

pkg/runtime/tool_dispatch.go:122–124  ·  view source on GitHub ↗
(ctx context.Context, sessionID, label string)

Source from the content-addressed store, hash-verified

120}
121
122func (h *hookDispatcher) NotifyUserInput(ctx context.Context, sessionID, label string) {
123 h.r.executeOnUserInputHooks(ctx, sessionID, label)
124}
125
126func (h *hookDispatcher) NotifyApprovalDecision(ctx context.Context, sess *session.Session, a *agent.Agent, tc tools.ToolCall, decision, source string) {
127 h.r.executeOnToolApprovalDecisionHooks(ctx, sess, a, tc, decision, source)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected