github_issues_list_milestones
Retrieve milestones from a GitHub repository. Filter by open, closed, or all states; sort by due date or completeness; set direction and pagination.
Instructions
List milestones
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "github_issues_list_milestones"
}
}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)." | |
| repo | Yes | repo | |
| sort | No | What to sort results by. Either `due_on` or `completeness`. | |
| owner | Yes | owner | |
| state | No | The state of the milestone. Either `open`, `closed`, or `all`. | |
| 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)." | |
| direction | No | The direction of the sort. Either `asc` or `desc`. |