get_project_variable
Retrieve a GitLab project's CI/CD variable value and details by key, optionally filtered by environment scope, to inspect deployment secrets and configuration.
Instructions
Get specific CI/CD variable details and value by key
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable key/name (e.g. 'DEPLOY_TOKEN') | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. | |
| filter_environment_scope | No | Optional environment scope filter (e.g. 'production' or '*') |