searchRepository
Search a GitHub repository for files with filenames matching a query. Optionally filter by path to narrow results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repository": "<repository>",
"query": "<query>"
},
"name": "searchRepository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository | Yes | Repository name in owner/repo format (e.g., "skydeckai/mcp-server-aidd") | |
| query | Yes | Text to search for in filenames (e.g., "function") | |
| path | No | Optional: Filter searches to a specific path (e.g., "src") |