create_webhook_subscription
Subscribe to changes on selected MyCase resources by specifying a model type, a callback URL, and actions (created, updated, deleted) to trigger notifications.
Instructions
Create a webhook. model: resource type (case|client|company|event|lead|message). actions: comma-separated list of created|updated|deleted (e.g. 'created,updated').
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": {
"model": "<model>",
"url": "<url>",
"actions": "<actions>"
},
"name": "create_webhook_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| model | Yes | ||
| actions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |