shelly_webhook_create
Create Shelly device webhooks that trigger up to five URLs on specified events, with optional JS conditions and repeat timing.
Instructions
Create a webhook: event (e.g. 'switch.on'), cid component id, urls 1-5.
Optional condition (JS expression) and repeat_period (seconds; 0=always,
negative=once). Audit-logged.
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": {
"device": "<device>",
"event": "<event>",
"cid": "<cid>",
"urls": "<urls>"
},
"name": "shelly_webhook_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | ||
| name | No | ||
| urls | Yes | ||
| event | Yes | ||
| device | Yes | ||
| enable | No | ||
| condition | No | ||
| repeat_period | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||