dwlf_preflight_custom_event
Validate a custom event graph before saving to preview its execution tier, complexity score, policy limits, errors, and suggested fixes.
Instructions
Validate a custom event graph WITHOUT saving it. Gives the execution tier (fast/async/reject), complexity score with breakdown, graph metrics, plan policy limits, errors, warnings, and suggested fixes. Call this BEFORE creating or updating a complex event to check whether it is accepted and which execution tier it lands in.
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": {
"bodyJson": "<bodyJson>"
},
"name": "dwlf_preflight_custom_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bodyJson | Yes | Full event body as JSON string with name, visual (nodes + edges), and optionally description, metadata, version |