wp_create_custom_webhook
Create custom outbound webhooks in WordPress by setting name, HTTPS delivery URL, and event topics. Returns a one-time secret, requiring confirmation when safe mode is on.
Instructions
Create a custom MCP outbound webhook. Secret is returned once on create. confirm:true required when safe mode is on.
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": {
"name": "<name>",
"url": "<url>",
"topics": "<topics>"
},
"name": "wp_create_custom_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS delivery URL | |
| name | Yes | Webhook name | |
| topics | Yes | Event topics to subscribe to | |
| confirm | No | Required when safe mode is enabled | |
| enabled | No | Enable webhook (default true) |