GitHub Repositories
github_repositoriesList a GitHub user's public repos with sort, direction, type, and cursor pagination; optionally use a 24-hour cache to avoid repeat charges.
Instructions
List a user's repos with sort/direction/type — opaque Link cursor (~0.4/repo). Costs ~12 credits (0.4/result). Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).
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": {
"username": "<username>"
},
"name": "github_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | created | updated | pushed | full_name (default updated). Not stars — GitHub's user-repos API has no stars sort. Echoed as data.sort. | |
| type | No | owner (default) | member | all — affiliation filter. Echoed as data.type. | |
| cache | No | Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. | |
| limit | No | Max items to return (default 30, max 100). Billed per result. | |
| cursor | No | Opaque cursor from a previous nextCursor (GitHub Link page=). Not a bare page number. | |
| username | Yes | GitHub username or profile URL, e.g. torvalds. | |
| direction | No | asc or desc (default desc). Echoed as data.direction. |