update_event
Update a custom event's payload schema by passing a flat key→type map, or clear it with null. Event names remain unchanged; create a new event to rename.
Instructions
Update a custom-event definition's payload schema (PATCH /events/:id). The event NAME is immutable (renaming would detach automations that reference it) — create a new event to rename. Pass schema as a flat key→type map, or null to clear it.
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": {
"id": "<id>"
},
"name": "update_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The event definition id. | |
| schema | No | Flat key→type map, e.g. { plan: 'string' }, or null to clear. |