Search GitHub repositories
github_search_repositoriesSearch repositories across GitHub using a GitHub connection (your own or one shared with you). Accepts a GitHub search query (supports qualifiers like language:, user:, org:, stars:). Returns up to 30 matches ordered by best match.
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": {
"query": "<query>"
},
"name": "github_search_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Optional sort field (default best match). | |
| order | No | Sort order when sort is set (default desc). | |
| query | Yes | GitHub repository search query, e.g. "topic:cli language:go stars:>100". | |
| connection | No | Which GitHub connection to use, by its name from github_list_connections. This is a local label for the connection, NOT a GitHub username — for anything GitHub has to resolve, use that connection's login instead. Optional when you have exactly one. |