Create Event
create-eventDefine a new event type and its payload schema so apps can send events and automations can respond. The event name is permanent.
Instructions
Define an event type that apps can send and automations can react to. The name cannot be changed later.
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": {
"name": "<name>"
},
"name": "create-event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique event name, e.g. order.completed. | |
| schema | No | The fields each occurrence of this event carries. | |
| conversion | No | Count this event as a conversion when attributing revenue to campaigns. | |
| description | No |