list_milestones
Fetch milestones from a repository, with the ability to filter by open, closed, or all states.
Instructions
List milestones in a repository, optionally filtered by state.
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": "list_milestones"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| state | No | Filter by state: 'open', 'closed', or 'all' | open |
| page | No | Page number (1-indexed) | |
| limit | No | Items per page (max 50) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |