Notes/Comments
get_notesRetrieve notes (comments) from GitLab issues or merge requests, including system notes and inline MR comments. Supports pagination for complete results.
Instructions
Get notes (comments) on an issue or merge request, including system notes and inline MR comments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iid | Yes | Issue or merge request IID | |
| after | No | Pagination cursor. To fetch the next page, pass the previous response pageInfo.endCursor here and repeat until pageInfo.hasNextPage is false. Paginating this way is the reliable path to complete results and accurate totals. | |
| first | No | Number of notes to retrieve | |
| fetchAll | No | Fetch multiple pages in one call, up to "first" items total (max 100) — NOT exhaustive. For complete results or accurate counts, leave this false and paginate via after (pageInfo.endCursor). | |
| projectPath | Yes | Full path of the project (e.g., "group/project-name") | |
| noteableType | Yes | Type of item to get notes for | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |