Get GitLab environment
get_environmentFetch a specific environment by its numeric ID from a GitLab project to access its details.
Instructions
Retrieve a single environment by its numeric ID.
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": "<project>",
"environment_id": "<environment_id>"
},
"name": "get_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | GitLab project ID or full path such as group/project. | |
| environment_id | Yes | Numeric ID of the environment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |