subscribe
Register a webhook to receive a push notification when a trigger fires and return a subscription ID for tracking.
Instructions
Register a webhook to be woken (pushed) when a trigger fires. Returns a subscription id.
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": {
"trigger": "<trigger>",
"url": "<url>"
},
"name": "subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| trigger | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |