Stop Stale Environments
gitlab_stop_stale_environmentsStop GitLab environments last modified or deployed before an ISO 8601 date to clean up stale environments without deleting them; protected environments are skipped.
Instructions
Stop every environment last modified or deployed before an ISO 8601 date (between 10 years and 1 week ago). GitLab skips protected environments; this stops but does not delete.
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": {
"before": "<before>"
},
"name": "gitlab_stop_stale_environments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | Yes | ||
| project_id | No |