create_repo_webhook
Create a webhook for a GitHub repository by specifying owner, repo, and a callback URL. Configure events, secret, and content type to receive payloads.
Instructions
Create a webhook for a specific repository
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>",
"config": "<config>"
},
"name": "create_repo_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name of the webhook (must be 'web') | web |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organization) | |
| active | No | Whether the webhook is active (default: true) | |
| config | Yes | ||
| events | No | Array of events that trigger the webhook (e.g., ['push', 'pull_request']) |