dwlf_compile_custom_event
Recompiles a legacy custom event to resolve 422 EVENT_NOT_COMPILED errors when activating symbols, ensuring its saved definition matches what actually runs.
Instructions
Recompile a LEGACY custom event. Saving already compiles: dwlf_create_custom_event, and every dwlf_update_custom_event that changes the definition, compile in the same request and refuse (400) a graph that does not compile, so this is needed only when activating symbols answers 422 EVENT_NOT_COMPILED (an older event never compiled, or one whose saved definition is not what would run). A 409 means the event changed while it compiled: reload it and retry.
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": {
"eventId": "<eventId>"
},
"name": "dwlf_compile_custom_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | Yes | Custom event ID to compile |