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

Method PrintToolCallResponse

pkg/cli/printer.go:153–155  ·  view source on GitHub ↗

PrintToolCallResponse prints a tool call response

(name, response string)

Source from the content-addressed store, hash-verified

151
152// PrintToolCallResponse prints a tool call response
153func (p *Printer) PrintToolCallResponse(name, response string) {
154 p.Printf("\n%s response%s\n", bold(name), formatToolCallResponse(response))
155}
156
157// PromptMaxIterationsContinue prompts the user to continue after max iterations
158func (p *Printer) PromptMaxIterationsContinue(ctx context.Context, maxIterations int) ConfirmationResult {

Callers 1

RunFunction · 0.80

Calls 2

PrintfMethod · 0.95
formatToolCallResponseFunction · 0.85

Tested by

no test coverage detected