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
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>",
"url": "<url>"
},
"name": "gitlab_add_webhook"
}
}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 |