create_destination
Add a new destination to forward hook events to HTTP endpoints, MQTT brokers, or email addresses.
Instructions
Add a new destination to a hook to forward events to.
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": {
"hookId": "<hookId>",
"type": "<type>",
"config": "<config>"
},
"name": "create_destination"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookId | Yes | The ID of the hook | |
| type | Yes | Type of destination | |
| config | Yes | Configuration object specific to the destination type | |
| name | No | Friendly name for this destination |