gitee_create_webhook
Configures a webhook on a Gitee repository to send payloads to a URL upon specified events like push, issues, or pull requests.
Instructions
Create a webhook
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": {
"owner": "<owner>",
"repo": "<repo>",
"url": "<url>"
},
"name": "gitee_create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository path name | |
| url | Yes | Payload URL | |
| encryption_type | No | Encryption: 0=password, 1=secret | |
| password | No | Webhook password or secret | |
| push_events | No | Trigger on push | |
| tag_push_events | No | Trigger on tag push | |
| issues_events | No | Trigger on issues | |
| note_events | No | Trigger on comments | |
| merge_requests_events | No | Trigger on PRs |