create_webhook
Create a webhook in Webex to monitor specific resources and trigger events by defining a name, target URL, resource, event, filter, secret, and owner.
Instructions
Create a webhook in Webex.
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>",
"targetUrl": "<targetUrl>",
"resource": "<resource>",
"event": "<event>",
"filter": "<filter>",
"secret": "<secret>",
"ownedBy": "<ownedBy>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | The event to trigger the webhook (e.g., created). | |
| filter | Yes | The filter for the webhook. | |
| name | Yes | The name of the webhook. | |
| ownedBy | Yes | The owner of the webhook. | |
| resource | Yes | The resource to monitor (e.g., messages). | |
| secret | Yes | The secret for the webhook. | |
| targetUrl | Yes | The target URL for the webhook. |