Stop Environment
gitlab_stop_environmentStops a GitLab environment and runs its on_stop job to tear down the deployed app; set force=true to stop without running on_stop.
Instructions
Stop an environment, which runs its on_stop job and typically tears down the deployed app. force=true stops it without running on_stop. Recommended pre-check: gitlab_get_environment.
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": {
"environment_id": "<environment_id>"
},
"name": "gitlab_stop_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| project_id | No | ||
| environment_id | Yes |