list_milestones
List milestones in a repository with pagination and state filter (open, closed, or all). Each milestone includes id, title, state, open and closed issue counts, and due date.
Instructions
List milestones in a repo. Paginated (page 1-based, limit <= 100). RISK: Gitea's DEFAULT returns only OPEN milestones — pass state='all' or 'closed' if you need closed/completed ones. Each milestone has id, title, state, open_issues, closed_issues, due_on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| limit | No | Results per page | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| state | No | Milestone state filter |