gitlab_get_mr_notes
Retrieve merge request notes and comments from GitLab using project ID and merge request IID. Supports sorting and ordering.
Instructions
Get merge request notes/comments (/projects/:id/merge_requests/:mr_iid/notes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | GitLab project ID. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CODE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| mr_iid | No | Merge request IID. | |
| sort | No | Sort order. | |
| order_by | No | Field used for ordering. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Merge request notes list payload. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |