gitlab_create_cicd_variable
Use this tool to create a new CI/CD variable in GitLab projects. Specify project ID, key, value, and optional settings like masked or protected variables for pipeline configuration.
Instructions
Create a new CI/CD variable
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_id": "<project_id>",
"key": "<key>",
"value": "<value>"
},
"name": "gitlab_create_cicd_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key of the variable | |
| masked | No | Whether the variable is masked | |
| project_id | Yes | The ID or URL-encoded path of the project | |
| protected | No | Whether the variable is protected | |
| value | Yes | The value of the variable |