MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / newToolMenuModel

Function newToolMenuModel

internal/cli/tool_menu.go:175–183  ·  view source on GitHub ↗
(tools []string)

Source from the content-addressed store, hash-verified

173}
174
175func newToolMenuModel(tools []string) toolMenuModel {
176 return toolMenuModel{
177 step: newPickerStep(
178 "Manage tools",
179 tools,
180 "Use ↑/↓ or j/k to move, type to filter, Enter to select, q to quit.",
181 ),
182 }
183}
184
185func (m toolMenuModel) Init() tea.Cmd { return nil }
186

Callers 4

launchCommandMethod · 0.85
runToolMenuFunction · 0.85

Calls 1

newPickerStepFunction · 0.85