create_github_webhook
Set up a GitHub push webhook to automatically trigger cPanel redeployment when repository code changes.
Instructions
Create a push webhook on a GitHub repository to trigger automatic redeployment on cPanel
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>",
"webhook_url": "<webhook_url>"
},
"name": "create_github_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name (e.g. 'my-app') | |
| owner | Yes | GitHub owner/organization (e.g. 'AkashJamali') | |
| secret | No | Optional webhook secret | |
| webhook_url | Yes | cPanel deployment webhook URL or custom endpoint | |
| github_token | No | GitHub PAT (if not already configured) |