github_repos_list_for_user
List a GitHub user's repositories with pagination, sorting, and type filters to find owned or member projects by username.
Instructions
List repositories for a user
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_repos_list_for_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| sort | No | The property to sort the results by. | |
| type | No | Limit results to repositories of the specified type. | |
| per_page | No | The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| username | Yes | username | |
| direction | No | The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`. |