MCPcopy Index your code
hub / github.com/cli/cli / renderGenericToolCall

Function renderGenericToolCall

pkg/cmd/agent-task/shared/log.go:487–494  ·  view source on GitHub ↗
(w io.Writer, cs *iostreams.ColorScheme, name string)

Source from the content-addressed store, hash-verified

485}
486
487func renderGenericToolCall(w io.Writer, cs *iostreams.ColorScheme, name string) {
488 toolName, ok := genericToolCallNamesToTitles[name]
489 if !ok {
490 toolName = fmt.Sprintf("Call to %s", name)
491 }
492
493 renderToolCallTitle(w, cs, toolName, "")
494}
495
496type chatCompletionChunkEntry struct {
497 ID string `json:"id"`

Callers 1

renderLogEntryFunction · 0.85

Calls 1

renderToolCallTitleFunction · 0.85

Tested by

no test coverage detected