Trigger webhook
triggerWebhookTrigger an automation via a webhook. Optionally specify devices or pass parameters to customize the trigger.
Instructions
Trigger webhook. Triggers an automation via a webhook. Webhooks that require an authorization header must include a write-enabled API key. Level API endpoint: POST /v2/automations/webhooks/{token}
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": {
"token": "<token>"
},
"name": "triggerWebhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The token of the webhook to trigger. | |
| device_ids | No | Trigger the automation for the specified devices. Conditions on the trigger will still be applied. |