Create Deployment
gitlab_create_deploymentRecords a commit deployment to a GitLab environment for deploys performed outside CI/CD, creating the environment if it does not exist.
Instructions
Record a deployment of a commit to an environment, for deploys performed outside GitLab CI/CD. The environment is created if it does not exist.
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": "<environment>",
"sha": "<sha>",
"ref": "<ref>",
"tag": "<tag>",
"status": "<status>"
},
"name": "gitlab_create_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| sha | Yes | ||
| tag | Yes | ||
| status | Yes | ||
| project_id | No | ||
| environment | Yes |