Get project level rule
gitlab_get_project_level_ruleRetrieves project-level merge request approval settings from GitLab to inspect approval, reauthentication, and override options for a specific project.
Instructions
Get details of a project-level merge request approval setting.
Args: **kwargs: Additional parameters for the request (e.g., project_id).
Returns: Response: A wrapper containing the original response and a MergeRequestRuleSettings model.
Raises: MissingParameterError: If the project_id is missing. ParameterError: If invalid parameters are provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gitlab_get_project_level_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| group_id | No | ||
| project_id | No | ||
| allow_author_approval | No | ||
| allow_committer_approval | No | ||
| retain_approvals_on_push | No | ||
| selective_code_owner_removals | No | ||
| require_reauthentication_to_approve | No | ||
| allow_overrides_to_approver_list_per_merge_request | No |