create_event
Define custom events that trigger automations, using an optional flat schema to validate event payloads.
Instructions
Create a custom-event definition (POST /events). Optional flat schema (key → 'string'|'number'|'boolean'|'date') validates /events/send payloads (422 on mismatch).
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 | The event name automations trigger on. | |
| schema | No | Optional flat key→type map, e.g. { plan: 'string' }. |