update_repo_webhook
Update an existing GitHub repository webhook by specifying its ID and modifying its URL, events, secret, or active status.
Instructions
Update an existing repository 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>",
"hook_id": "<hook_id>"
},
"name": "update_repo_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organization) | |
| active | No | Whether the webhook is active | |
| config | No | ||
| events | No | Array of events that trigger the webhook | |
| hook_id | Yes | Webhook ID to update |