Validate the diagram
validate_diagramChecks BPMN diagrams for XML validity, metamodel compliance, reference and scope errors, diagram completeness, bpmn-js reimport warnings, and bpmnlint rule violations; returns a detailed report.
Instructions
Checks the diagram and returns a report. Six checks: the XML is well formed; every element and attribute exists in the BPMN 2.0 metamodel; references resolve, ids are unique and each flow stays in its scope (sequence flows inside their process, message flows between two pools); every element is drawn (diagram interchange complete); bpmn-js reimports the document without warnings; the recommended bpmnlint rules raise no error (isolated element, missing start or end event, element without a label, superfluous gateway…). Returns the element counts, each check with its problems, the number of errors and warnings, and the bpmnlint issues with the id of the element concerned, the rule and the message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||