MCPcopy Create free account
hub / github.com/idosal/git-mcp / generateCodeSearchToolDescription

Function generateCodeSearchToolDescription

src/api/tools/commonTools.ts:994–999  ·  view source on GitHub ↗
({
  owner,
  repo,
}: RepoData)

Source from the content-addressed store, hash-verified

992 * @returns A descriptive string for the tool
993 */
994export function generateCodeSearchToolDescription({
995 owner,
996 repo,
997}: RepoData): string {
998 return `Search for code within the GitHub repository: "${owner}/${repo}" using the GitHub Search API (exact match). Returns matching files for you to query further if relevant.`;
999}
1000
1001/**
1002 * Recursively list every subfolder prefix under `startPrefix`.

Callers 1

getToolsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected