Get deployment approval status
get_deployment_approval_statusRetrieve deployment approval status including rules and individual decisions. Check if a deployment meets approval requirements before proceeding.
Instructions
Retrieve the approval status for a deployment, including approval rules and individual approval decisions. Requires GitLab Premium or Ultimate with protected-environment approval rules configured. On Free or non-protected environments the approval fields may be absent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"deployment_id": "<deployment_id>"
},
"name": "get_deployment_approval_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | GitLab project ID or full path such as group/project. | |
| deployment_id | Yes | Numeric ID of the deployment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |