gitlab_add_webhook
Adds a new webhook to a GitLab project, enabling event triggers like push, merge requests, or issues. Configure SSL verification and a secret token for secure payload validation.
Instructions
Add a new webhook to a project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
enable_ssl_verification | No | Enable SSL verification for the webhook | |
issues_events | No | Trigger webhook for issues events | |
merge_requests_events | No | Trigger webhook for merge request events | |
project_id | Yes | The ID or URL-encoded path of the project | |
push_events | No | Trigger webhook for push events | |
token | No | Secret token to validate received payloads | |
url | Yes | The webhook URL |
Input Schema (JSON Schema)
{
"properties": {
"enable_ssl_verification": {
"description": "Enable SSL verification for the webhook",
"type": "boolean"
},
"issues_events": {
"description": "Trigger webhook for issues events",
"type": "boolean"
},
"merge_requests_events": {
"description": "Trigger webhook for merge request events",
"type": "boolean"
},
"project_id": {
"description": "The ID or URL-encoded path of the project",
"type": "string"
},
"push_events": {
"description": "Trigger webhook for push events",
"type": "boolean"
},
"token": {
"description": "Secret token to validate received payloads",
"type": "string"
},
"url": {
"description": "The webhook URL",
"type": "string"
}
},
"required": [
"project_id",
"url"
],
"type": "object"
}