MCPcopy Create free account
hub / github.com/MicrosoftDocs/mcp / searchCodeSamples

Method searchCodeSamples

cli/src/mcp/client.ts:25–25  ·  view source on GitHub ↗
(query: string, language?: string)

Source from the content-addressed store, hash-verified

23 searchDocs(query: string): Promise<string>;
24 fetchDocument(url: string): Promise<string>;
25 searchCodeSamples(query: string, language?: string): Promise<string>;
26 getToolMapping(forceRefresh?: boolean): Promise<DiscoveredLearnTools>;
27 close(): Promise<void>;
28}

Callers 1

Implementers 1

LearnCliClientcli/src/mcp/client.ts

Calls

no outgoing calls

Tested by

no test coverage detected