MCPcopy Index your code
hub / github.com/coder/coder / allToolNames

Function allToolNames

coderd/x/chatd/chatd.go:6494–6500  ·  view source on GitHub ↗
(allTools []fantasy.AgentTool)

Source from the content-addressed store, hash-verified

6492}
6493
6494func allToolNames(allTools []fantasy.AgentTool) []string {
6495 toolNames := make([]string, 0, len(allTools))
6496 for _, tool := range allTools {
6497 toolNames = append(toolNames, tool.Info().Name)
6498 }
6499 return toolNames
6500}
6501
6502func isExploreSubagentMode(mode database.NullChatMode) bool {
6503 return mode.Valid && mode.ChatMode == database.ChatModeExplore

Callers 1

allowedBehaviorToolNamesFunction · 0.85

Calls 1

InfoMethod · 0.45

Tested by

no test coverage detected