Get Merge Request Code Context
gitlab_get_merge_request_code_contextRetrieve code context from a GitLab merge request with filters for paths, languages, and token budget control. Ideal for AI code review and analysis.
Instructions
High-signal MR code context with include/exclude filters, sorting, and token-budgeted output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | patch | |
| sort | No | changed_lines | |
| languages | No | ||
| list_only | No | ||
| max_files | No | ||
| extensions | No | ||
| project_id | No | ||
| context_lines | No | ||
| exclude_paths | No | ||
| include_paths | No | ||
| max_total_chars | No | ||
| merge_request_iid | Yes |