Update group CI/CD variable
update_group_ci_variableUpdate a GitLab group CI/CD variable's value, type, or scope without exposing the secret in responses. Adjust environment variables for group-level pipelines.
Instructions
Update a group CI/CD variable without returning its value.
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": {
"group": "<group>",
"key": "<key>",
"value": "<value>"
},
"name": "update_group_ci_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| raw | No | Whether the value is literal. Set false to enable variable expansion. | |
| group | Yes | GitLab group ID or full path such as parent/subgroup. | |
| value | Yes | ||
| masked | No | ||
| protected | No | ||
| description | No | ||
| variable_type | No | ||
| environment_scope | No | ||
| filter_environment_scope | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |