MCPcopy Index your code
hub / github.com/github/github-mcp-server / Search

Function Search

pkg/tooldiscovery/search.go:38–40  ·  view source on GitHub ↗

Search returns the most relevant tools for a free-text query. Prefer using SearchTools and passing an explicit tool list. This function is kept for API compatibility and currently searches an empty tool set.

(query string, options ...SearchOptions)

Source from the content-addressed store, hash-verified

36// Prefer using SearchTools and passing an explicit tool list. This function is
37// kept for API compatibility and currently searches an empty tool set.
38func Search(query string, options ...SearchOptions) ([]SearchResult, error) {
39 return SearchTools(nil, query, options...)
40}
41
42// SearchTools is like Search, but searches across the provided tool list.
43//

Callers

nothing calls this directly

Calls 1

SearchToolsFunction · 0.85

Tested by

no test coverage detected