create_webhook
Create a webhook in a GitHub repository to receive event notifications. Specify the endpoint URL, events, and optional secret for secure payloads.
Instructions
Crea un nuevo webhook en un repositorio
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": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL del webhook (endpoint que recibirá los eventos) | |
| repo | Yes | Nombre del repositorio | |
| owner | Yes | Propietario del repositorio | |
| active | No | Si el webhook está activo (default: true) | |
| events | No | Eventos a suscribir (ej: ['push', 'pull_request']). Si no se especifica, se suscribe a todos | |
| secret | No | Secreto para firmar los payloads (opcional pero recomendado) | |
| content_type | No | Tipo de contenido (default: 'json') | json |
| insecure_ssl | No | Permitir certificados SSL no verificados (0=no, 1=sí, default: '0') | 0 |